# 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 = "attohttpc"
version = "0.17.0"
authors = ["Simon Bernier St-Pierre <git@sbstp.ca>"]
description = "Small and lightweight HTTP client"
homepage = "https://github.com/sbstp/attohttpc"
documentation = "https://docs.rs/attohttpc"
readme = "README.md"
keywords = ["http", "https", "client", "request", "response"]
categories = ["network-programming", "web-programming", "web-programming::http-client"]
license = "MPL-2.0"
repository = "https://github.com/sbstp/attohttpc"
[package.metadata.docs.rs]
all-features = true

[[example]]
name = "cat"
path = "examples/cat.rs"
required-features = ["default"]

[[example]]
name = "imdb"
path = "examples/imdb.rs"
required-features = ["tls"]

[[example]]
name = "nhlapi"
path = "examples/nhlapi.rs"
required-features = ["tls"]

[[example]]
name = "post_json"
path = "examples/post_json.rs"
required-features = ["json"]

[[example]]
name = "post"
path = "examples/post.rs"
required-features = ["tls"]

[[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"]

[[test]]
name = "test_multipart"
path = "tests/test_multipart.rs"
required-features = ["multipart-form"]
[dependencies.encoding_rs]
version = "0.8"
optional = true

[dependencies.encoding_rs_io]
version = "0.1"
optional = true

[dependencies.flate2]
version = "1.0"
optional = true

[dependencies.http]
version = "0.2"

[dependencies.log]
version = "0.4"

[dependencies.mime]
version = "0.3"
optional = true

[dependencies.multipart]
version = "0.17.0"
optional = true

[dependencies.native-tls]
version = "0.2"
optional = true

[dependencies.rustls]
version = "0.18"
features = ["dangerous_configuration"]
optional = true

[dependencies.serde]
version = "1"
optional = true

[dependencies.serde_json]
version = "1"
optional = true

[dependencies.serde_urlencoded]
version = "0.6"
optional = true

[dependencies.url]
version = "2"

[dependencies.webpki]
version = "0.21"
optional = true

[dependencies.webpki-roots]
version = "0.19"
optional = true

[dependencies.wildmatch]
version = "1"
[dev-dependencies.anyhow]
version = "1"

[dev-dependencies.env_logger]
version = "0.7"

[dev-dependencies.futures]
version = "0.3"

[dev-dependencies.futures-util]
version = "0.3"

[dev-dependencies.hyper]
version = "0.13"

[dev-dependencies.tokio]
version = "0.2"
features = ["dns", "io-driver", "macros", "time", "rt-threaded"]

[dev-dependencies.tokio-rustls]
version = "0.14"

[dev-dependencies.warp]
version = "0.2.3"

[features]
charsets = ["encoding_rs", "encoding_rs_io"]
compress = ["flate2"]
default = ["compress", "tls"]
form = ["serde", "serde_urlencoded"]
json = ["serde", "serde_json"]
multipart-form = ["multipart", "mime"]
tls = ["native-tls", "openssl"]
tls-rustls = ["rustls", "webpki", "webpki-roots"]
[target."cfg(not(any(target_os = \"windows\", target_os = \"macos\", target_os = \"ios\")))".dependencies.openssl]
version = "0.10"
optional = true
