# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "monoio-http-client" version = "0.3.3" authors = [ "ChiHai ", "Harsha ", "Rain ", ] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Http client for Monoio." readme = "README.md" license = "MIT/Apache-2.0" [lib] name = "monoio_http_client" path = "src/lib.rs" [[example]] name = "auto_client" path = "examples/auto_client.rs" [[example]] name = "custom_connector" path = "examples/custom_connector.rs" [[example]] name = "get" path = "examples/get.rs" [[example]] name = "get_json" path = "examples/get_json.rs" [[example]] name = "get_json_ssl" path = "examples/get_json_ssl.rs" [[example]] name = "h1_client" path = "examples/h1_client.rs" [[example]] name = "h2_client" path = "examples/h2_client.rs" [[example]] name = "post_big_json" path = "examples/post_big_json.rs" [[example]] name = "post_json" path = "examples/post_json.rs" [dependencies.bytes] version = "1" [dependencies.http] version = "1.0" [dependencies.local-sync] version = "0.1" [dependencies.monoio] version = "0.2.3" [dependencies.monoio-http] version = "0.3.1" [dependencies.monoio-native-tls] version = "0.3.0" optional = true [dependencies.monoio-rustls] version = "0.3.0" [dependencies.native-tls] version = "0.2" optional = true [dependencies.rustls] version = "0.21" features = ["dangerous_configuration"] default-features = false [dependencies.serde] version = "1" [dependencies.serde_json] version = "1" [dependencies.service-async] version = "0.2.0" [dependencies.smol_str] version = "0.2" [dependencies.thiserror] version = "1" [dependencies.tracing] version = "0.1" optional = true [dependencies.webpki-roots] version = "0.25.2" [dev-dependencies.serde] version = "1" features = ["derive"] [dev-dependencies.tracing] version = "0.1" [dev-dependencies.tracing-subscriber] version = "0.3" [features] default = ["time"] logging = [ "tracing", "monoio-rustls/logging", ] native-tls = [ "dep:native-tls", "monoio-native-tls", ] rustls-unsafe-io = ["monoio-rustls/unsafe_io"] time = []