# 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 = "2018" name = "li-http-client" version = "6.5.5" authors = [ "Yoshua Wuyts ", "dignifiedquire ", "Jeremiah Senkpiel ", ] description = "Types and traits for http clients." documentation = "https://docs.rs/http-client" readme = "README.md" license = "MIT OR Apache-2.0" repository = "https://github.com/http-rs/http-client" [dependencies.async-native-tls] version = "0.3.1" optional = true [dependencies.async-std] version = "1.6.0" optional = true default-features = false [dependencies.async-tls] version = "0.11" optional = true [dependencies.async-trait] version = "0.1.37" [dependencies.cfg-if] version = "1.0.0" [dependencies.dashmap] version = "5.3.4" optional = true [dependencies.deadpool] version = "0.7.0" optional = true [dependencies.futures] version = "0.3.8" optional = true [dependencies.futures-util] version = "0.3.5" features = ["io"] optional = true [dependencies.hyper] version = "0.13.6" features = ["tcp"] optional = true [dependencies.hyper-tls] version = "0.4.3" optional = true [dependencies.li-async-h1] version = "2.0.0" optional = true [dependencies.li-http-types] version = "2.13.0" [dependencies.log] version = "0.4.7" [dependencies.rustls_crate] version = "0.19" optional = true package = "rustls" [dependencies.tokio] version = "0.2" features = ["time"] optional = true [dev-dependencies.async-std] version = "1.6.0" features = [ "unstable", "attributes", ] [dev-dependencies.getrandom] version = "0.2" features = ["js"] [dev-dependencies.mockito] version = "0.23.3" [dev-dependencies.portpicker] version = "0.1.0" [dev-dependencies.serde] version = "1.0" [dev-dependencies.serde_json] version = "1.0" [dev-dependencies.tide] version = "0.15.0" features = ["h1-server"] default-features = false [dev-dependencies.tide-rustls] version = "0.1.4" [dev-dependencies.tokio] version = "0.2.21" features = ["macros"] [features] curl_client = [ "isahc", "async-std", ] default = [ "h1_client", "native-tls", ] docs = [ "h1_client", "curl_client", "wasm_client", "hyper_client", ] h1_client = [ "li-async-h1", "async-std", "dashmap", "deadpool", "futures", ] hyper_client = [ "hyper", "hyper-tls", "li-http-types/hyperium_http", "futures-util", "tokio", ] native-tls = ["async-native-tls"] native_client = [ "curl_client", "wasm_client", ] rustls = [ "async-tls", "rustls_crate", ] unstable-config = [] wasm_client = [ "js-sys", "web-sys", "wasm-bindgen", "wasm-bindgen-futures", "futures", "async-std", ] [target."cfg(not(target_arch = \"wasm32\"))".dependencies.isahc] version = "0.9" features = ["http2"] optional = true default-features = false [target."cfg(target_arch = \"wasm32\")".dependencies.futures] version = "0.3.1" optional = true [target."cfg(target_arch = \"wasm32\")".dependencies.js-sys] version = "0.3.25" optional = true [target."cfg(target_arch = \"wasm32\")".dependencies.send_wrapper] version = "0.6.0" features = ["futures"] [target."cfg(target_arch = \"wasm32\")".dependencies.wasm-bindgen] version = "0.2.48" optional = true [target."cfg(target_arch = \"wasm32\")".dependencies.wasm-bindgen-futures] version = "0.4.5" optional = true [target."cfg(target_arch = \"wasm32\")".dependencies.web-sys] version = "0.3.25" features = [ "AbortSignal", "Headers", "ObserverCallback", "ReferrerPolicy", "Request", "RequestCache", "RequestCredentials", "RequestInit", "RequestMode", "RequestRedirect", "Response", "Window", "WorkerGlobalScope", ] optional = true