[dependencies.futures-preview]
features = ["compat", "io-compat"]
version = "0.3.0-alpha.19"
[dependencies.http]
version = "0.1.17"
[dependencies.log]
features = ["kv_unstable"]
version = "0.4.7"
[dependencies.mime]
version = "0.3.13"
[dependencies.mime_guess]
version = "2.0.0-alpha.6"
[dependencies.serde]
version = "1.0.97"
[dependencies.serde_json]
version = "1.0.40"
[dependencies.serde_urlencoded]
version = "0.6.1"
[dependencies.url]
version = "2.0.0"
[dev-dependencies.async-std]
version = "0.99.10"
[dev-dependencies.femme]
version = "1.1.0"
[dev-dependencies.runtime]
version = "0.3.0-alpha.6"
[dev-dependencies.serde]
features = ["derive"]
version = "1.0.97"
[features]
curl-client = ["isahc"]
default = ["native-client", "middleware-logger"]
hyper-client = ["hyper", "runtime", "runtime-raw", "runtime-tokio"]
middleware-logger = []
native-client = ["curl-client", "wasm-client"]
wasm-client = ["js-sys", "web-sys", "wasm-bindgen", "wasm-bindgen-futures"]
[package]
authors = ["Yoshua Wuyts <yoshuawuyts@gmail.com>"]
categories = ["web-programming", "web-programming::http-client"]
description = "HTTP client framework."
documentation = "https://docs.rs/surf"
edition = "2018"
keywords = ["http", "client", "framework", "request"]
license = "MIT OR Apache-2.0"
name = "surf"
readme = "README.md"
repository = "https://github.com/http-rs/surf"
version = "1.0.3"
[target."cfg(not(target_arch = \"wasm32\"))".dependencies.hyper]
default-features = false
optional = true
version = "0.12.32"
[target."cfg(not(target_arch = \"wasm32\"))".dependencies.hyper-tls]
optional = true
version = "0.3.2"
[target."cfg(not(target_arch = \"wasm32\"))".dependencies.isahc]
default-features = false
features = ["http2"]
optional = true
version = "0.7"
[target."cfg(not(target_arch = \"wasm32\"))".dependencies.native-tls]
optional = true
version = "0.2.2"
[target."cfg(not(target_arch = \"wasm32\"))".dependencies.runtime]
optional = true
version = "0.3.0-alpha.6"
[target."cfg(not(target_arch = \"wasm32\"))".dependencies.runtime-raw]
optional = true
version = "0.3.0-alpha.4"
[target."cfg(not(target_arch = \"wasm32\"))".dependencies.runtime-tokio]
optional = true
version = "0.3.0-alpha.5"
[target."cfg(target_arch = \"wasm32\")".dependencies.js-sys]
optional = true
version = "0.3.25"
[target."cfg(target_arch = \"wasm32\")".dependencies.wasm-bindgen]
optional = true
version = "0.2.48"
[target."cfg(target_arch = \"wasm32\")".dependencies.wasm-bindgen-futures]
features = ["futures_0_3"]
optional = true
version = "0.3.25"
[target."cfg(target_arch = \"wasm32\")".dependencies.web-sys]
features = ["AbortSignal", "Headers", "ObserverCallback", "ReferrerPolicy", "Request", "RequestCache", "RequestCredentials", "RequestInit", "RequestMode", "RequestRedirect", "Response", "Window"]
optional = true
version = "0.3.25"