mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-03-31 17:55:36 +00:00
aquatic_http: remove mio implementation
This commit is contained in:
parent
a935a3bbf0
commit
130377b8f4
19 changed files with 394 additions and 1587 deletions
|
|
@ -15,11 +15,6 @@ path = "src/lib/lib.rs"
|
|||
name = "aquatic_http"
|
||||
path = "src/bin/main.rs"
|
||||
|
||||
[features]
|
||||
default = ["with-glommio"]
|
||||
with-glommio = ["glommio", "futures-lite", "rustls", "rustls-pemfile", "slab"]
|
||||
with-mio = ["crossbeam-channel", "histogram", "mio", "native-tls", "socket2"]
|
||||
|
||||
[dependencies]
|
||||
anyhow = "1"
|
||||
aquatic_cli_helpers = "0.1.0"
|
||||
|
|
@ -28,6 +23,8 @@ aquatic_http_protocol = "0.1.0"
|
|||
cfg-if = "1"
|
||||
core_affinity = "0.5"
|
||||
either = "1"
|
||||
futures-lite = "1"
|
||||
glommio = { git = "https://github.com/DataDog/glommio.git", rev = "4e6b14772da2f4325271fbcf12d24cf91ed466e5" }
|
||||
hashbrown = "0.11.2"
|
||||
indexmap = "1"
|
||||
itoa = "0.4"
|
||||
|
|
@ -37,23 +34,12 @@ memchr = "2"
|
|||
parking_lot = "0.11"
|
||||
privdrop = "0.5"
|
||||
rand = { version = "0.8", features = ["small_rng"] }
|
||||
rustls = "0.20"
|
||||
rustls-pemfile = "0.2"
|
||||
serde = { version = "1", features = ["derive"] }
|
||||
slab = "0.4"
|
||||
smartstring = "0.2"
|
||||
|
||||
# mio
|
||||
crossbeam-channel = { version = "0.5", optional = true }
|
||||
histogram = { version = "0.6", optional = true }
|
||||
mio = { version = "0.7", features = ["tcp", "os-poll", "os-util"], optional = true }
|
||||
native-tls = { version = "0.2", optional = true }
|
||||
socket2 = { version = "0.4.1", features = ["all"], optional = true }
|
||||
|
||||
# glommio
|
||||
futures-lite = { version = "1", optional = true }
|
||||
glommio = { git = "https://github.com/DataDog/glommio.git", rev = "4e6b14772da2f4325271fbcf12d24cf91ed466e5", optional = true }
|
||||
rustls = { version = "0.20", optional = true }
|
||||
rustls-pemfile = { version = "0.2", optional = true }
|
||||
slab = { version = "0.4", optional = true }
|
||||
|
||||
[dev-dependencies]
|
||||
quickcheck = "1.0"
|
||||
quickcheck_macros = "1.0"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue