# 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 believe there's an error in this file please file an # issue against the rust-lang/cargo repository. If you're # editing this file be aware that the upstream Cargo.toml # will likely look very different (and much more reasonable) [package] edition = "2018" name = "mio_surf" version = "2.1.0" 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-std] version = "1.6.0" features = ["std"] default-features = false [dependencies.async-trait] version = "0.1.36" [dependencies.cfg-if] version = "0.1.10" [dependencies.futures-util] version = "0.3.5" features = ["io"] [dependencies.http-client] version = "6.1.0" default-features = false [dependencies.http-types] version = "2.5.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.1.1" [dependencies.serde] version = "1.0.97" [dependencies.serde_json] version = "1.0.40" [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"] [features] curl-client = ["http-client/curl_client", "once_cell", "default-client"] default = ["curl-client", "middleware-logger", "encoding"] default-client = [] encoding = ["encoding_rs", "web-sys"] h1-client = ["http-client/h1_client", "default-client"] hyper-client = ["http-client/hyper_client", "once_cell", "default-client", "async-std/tokio02"] middleware-logger = [] native-client = ["http-client/native_client", "default-client"] wasm-client = ["http-client/wasm_client", "default-client"] [target."cfg(not(target_arch = \"wasm32\"))".dependencies.encoding_rs] version = "0.8.20" optional = true [target."cfg(target_arch = \"wasm32\")".dependencies.web-sys] version = "0.3.25" features = ["TextDecoder"] optional = true