# 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-surf" version = "2.3.3" authors = [ "Yoshua Wuyts ", "dignifiedquire ", "Renée Kooi ", "Jeremiah Senkpiel ", ] description = "Surf the web - HTTP client framework" documentation = "https://docs.rs/surf" readme = "README.md" keywords = [ "http", "client", "framework", "request", "async", ] categories = [ "web-programming", "web-programming::http-client", ] license = "MIT OR Apache-2.0" repository = "https://github.com/http-rs/surf" [dependencies.async-native-tls] version = "0.3.3" optional = true [dependencies.async-std] version = "1.6.0" features = ["std"] default-features = false [dependencies.async-trait] version = "0.1.36" [dependencies.cfg-if] version = "1.0.0" [dependencies.encoding_rs] version = "0.8.20" optional = true [dependencies.futures-util] version = "0.3.5" features = ["io"] [dependencies.getrandom] version = "0.2.0" [dependencies.li-http-client] version = "6.5.4" default-features = false [dependencies.li-http-types] version = "2.12.0" [dependencies.log] version = "0.4.7" features = ["kv_unstable"] [dependencies.mime_guess] version = "2.0.3" [dependencies.once_cell] version = "1.4.1" optional = true [dependencies.pin-project-lite] version = "0.2.0" [dependencies.rustls_crate] version = "0.18" optional = true package = "rustls" [dependencies.serde] version = "1.0.97" [dependencies.serde_json] version = "1.0.40" [dependencies.web-sys] version = "0.3.25" features = ["TextDecoder"] optional = true [dev-dependencies.async-std] version = "1.6.0" features = ["attributes"] [dev-dependencies.femme] version = "1.1.0" [dev-dependencies.mockito] version = "0.23.3" [dev-dependencies.serde] version = "1.0.97" features = ["derive"] [dev-dependencies.tide] version = "0.16.0" [features] curl-client = [ "li-http-client/curl_client", "once_cell", "default-client", ] default = [ "curl-client", "middleware-logger", "encoding", ] default-client = [] encoding = [ "encoding_rs", "web-sys", ] h1-client = [ "li-http-client/h1_client", "li-http-client/native-tls", "once_cell", "default-client", "async-native-tls", ] h1-client-no-tls = [ "li-http-client/h1_client", "once_cell", "default-client", ] h1-client-rustls = [ "li-http-client/h1_client", "li-http-client/rustls", "once_cell", "default-client", "rustls_crate", ] hyper-client = [ "li-http-client/hyper_client", "once_cell", "default-client", "async-std/tokio02", ] middleware-logger = [] wasm-client = [ "li-http-client/wasm_client", "default-client", "getrandom/js", "web-sys", ]