Skip to content

Commit

Permalink
refactor(client): replace mio with tokio
Browse files Browse the repository at this point in the history
- Use `tokio` instead of `mio`.
- Refactor `neqo-client` to be more consistent with `neqo-server`.
  - Introduce `read_datagram` and `ready`.
  - Introduce `ClientRunner` and `old::ClientRunner` (consistent with `ServersRunner`).
- Fold `handle_test` into `client` (now `ClientRunner::new`).
  • Loading branch information
mxinden committed Feb 1, 2024
1 parent f85f100 commit 8c49282
Show file tree
Hide file tree
Showing 2 changed files with 315 additions and 305 deletions.
4 changes: 3 additions & 1 deletion neqo-client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,16 @@ rust-version = "1.70.0"
license = "MIT OR Apache-2.0"

[dependencies]
mio = "~0.6.23"
futures = "0.3"
log = {version = "0.4.17", default-features = false}
neqo-common = { path="./../neqo-common" }
neqo-crypto = { path = "./../neqo-crypto" }
neqo-http3 = { path = "./../neqo-http3" }
neqo-qpack = { path = "./../neqo-qpack" }
neqo-transport = { path = "./../neqo-transport" }
qlog = "0.11.0"
structopt = "0.3"
tokio = { version = "1", features = ["net", "time", "macros", "rt", "rt-multi-thread"] }
url = "~2.5.0"

[features]
Expand Down
Loading

0 comments on commit 8c49282

Please sign in to comment.