[package] authors = [ "ChiHai ", "Harsha ", "Rain ", ] description = "Http client for Monoio." edition = "2021" license = "MIT/Apache-2.0" name = "monoio-http-client" version = "0.3.3" [dependencies] monoio = { workspace = true } monoio-rustls = { workspace = true } monoio-native-tls = { workspace = true, optional = true } service-async = { workspace = true } bytes = { workspace = true } http = { workspace = true } thiserror = { workspace = true } local-sync = { workspace = true } monoio-http = { version = "0.3.1", path = "../monoio-http" } serde = "1" serde_json = "1" smol_str = "0.2" rustls = { version = "0.21", default-features = false, features = [ "dangerous_configuration", ] } webpki-roots = "0.25.2" native-tls = { version = "0.2", optional = true } tracing = { version = "0.1", optional = true } [dev-dependencies] serde = { version = "1", features = ["derive"] } tracing = "0.1" tracing-subscriber = "0.3" [features] default = ["time"] # Enable this feature to make connection pool periodically checking works. # You must enable time driver to use it. time = [] # Note: rustls and native-tls cannot be enabled at the same time rustls-unsafe-io = ["monoio-rustls/unsafe_io"] native-tls = ["dep:native-tls", "monoio-native-tls"] logging = ["tracing", "monoio-rustls/logging"]