WIP: aquatic_http glommio impl

This commit is contained in:
Joakim Frostegård 2021-10-26 16:26:37 +02:00
parent ad7e464788
commit 34bc4046b7
4 changed files with 195 additions and 2 deletions

View file

@ -17,7 +17,7 @@ path = "src/bin/main.rs"
[features]
default = ["with-mio"]
with-glommio = ["glommio", "futures-lite"]
with-glommio = ["glommio", "futures-lite", "rustls", "rustls-pemfile"]
with-mio = ["crossbeam-channel", "histogram", "mio", "native-tls", "socket2"]
[dependencies]
@ -47,8 +47,10 @@ native-tls = { version = "0.2", optional = true }
socket2 = { version = "0.4.1", features = ["all"], optional = true }
# glommio
glommio = { git = "https://github.com/DataDog/glommio.git", rev = "4e6b14772da2f4325271fbcf12d24cf91ed466e5", optional = true }
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 }
[dev-dependencies]
quickcheck = "1.0"