[[example]]
name = "cat"
path = "examples/cat.rs"
required-features = ["default"]
[[example]]
name = "imdb"
path = "examples/imdb.rs"
required-features = ["tls-native"]
[[example]]
name = "nhlapi"
path = "examples/nhlapi.rs"
required-features = ["tls-native"]
[[example]]
name = "post_json"
path = "examples/post_json.rs"
required-features = ["json"]
[[example]]
name = "post"
path = "examples/post.rs"
required-features = ["tls-native"]
[[example]]
name = "charset"
path = "examples/charset.rs"
required-features = ["charsets"]
[[example]]
name = "multipart"
path = "examples/multipart.rs"
required-features = ["multipart-form"]
[[test]]
name = "test_invalid_certs"
path = "tests/test_invalid_certs.rs"
required-features = ["tls-native"]
[[test]]
name = "test_multipart"
path = "tests/test_multipart.rs"
required-features = ["multipart-form"]
[dependencies.base64]
optional = true
version = "0.22.0"
[dependencies.encoding_rs]
optional = true
version = "0.8.31"
[dependencies.encoding_rs_io]
optional = true
version = "0.1.7"
[dependencies.flate2]
default-features = false
optional = true
version = "1.0.24"
[dependencies.http]
version = "1"
[dependencies.log]
version = "0.4.17"
[dependencies.mime]
optional = true
version = "0.3.16"
[dependencies.multipart]
default-features = false
features = ["client"]
optional = true
version = "0.18.0"
[dependencies.native-tls]
optional = true
version = "0.2.10"
[dependencies.rustls-native-certs]
optional = true
version = "0.7"
[dependencies.rustls-opt-dep]
optional = true
package = "rustls"
version = "0.22.1"
[dependencies.serde]
optional = true
version = "1.0.143"
[dependencies.serde_json]
optional = true
version = "1.0.83"
[dependencies.serde_urlencoded]
optional = true
version = "0.7.1"
[dependencies.url]
version = "2.2.2"
[dependencies.webpki-roots]
optional = true
version = "0.26.0"
[dev-dependencies.anyhow]
version = "1.0.61"
[dev-dependencies.env_logger]
version = "0.11.0"
[dev-dependencies.futures-util]
default-features = false
version = "0.3.23"
[dev-dependencies.http02]
package = "http"
version = "0.2"
[dev-dependencies.hyper]
version = "0.14.20"
[dev-dependencies.lazy_static]
version = "1.4.0"
[dev-dependencies.multipart]
default-features = false
features = ["server"]
version = "0.18.0"
[dev-dependencies.rustls-pemfile]
version = "2"
[dev-dependencies.tokio]
features = ["full"]
version = "1.20.1"
[dev-dependencies.tokio-rustls]
version = "0.25.0"
[dev-dependencies.tokio-stream]
features = ["net"]
version = "0.1.9"
[dev-dependencies.warp]
version = "0.3.2"
[features]
__rustls = ["rustls-opt-dep"]
basic-auth = ["base64"]
charsets = ["encoding_rs", "encoding_rs_io"]
compress = ["flate2/default"]
compress-zlib = ["flate2/zlib"]
compress-zlib-ng = ["flate2/zlib-ng"]
default = ["compress", "tls-native"]
form = ["serde", "serde_urlencoded"]
json = ["serde", "serde_json"]
multipart-form = ["multipart", "mime"]
rustls = ["tls-rustls-webpki-roots"]
tls = ["tls-native"]
tls-native = ["native-tls"]
tls-native-vendored = ["native-tls/vendored"]
tls-rustls = ["tls-rustls-webpki-roots"]
tls-rustls-native-roots = ["__rustls", "rustls-native-certs"]
tls-rustls-webpki-roots = ["__rustls", "webpki-roots"]
tls-vendored = ["tls-native-vendored"]
[package]
authors = ["Simon Bernier St-Pierre <git@sbstp.ca>"]
categories = ["network-programming", "web-programming", "web-programming::http-client"]
description = "Small and lightweight HTTP client"
documentation = "https://docs.rs/attohttpc"
edition = "2018"
homepage = "https://github.com/sbstp/attohttpc"
keywords = ["http", "https", "client", "request", "response"]
license = "MPL-2.0"
name = "attohttpc"
readme = "README.md"
repository = "https://github.com/sbstp/attohttpc"
version = "0.28.0"
[package.metadata.docs.rs]
all-features = true