# 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.9.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"]
[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.native-tls]
version = "0.2"
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"
[dev-dependencies.env_logger]
version = "0.7"

[dev-dependencies.lazy_static]
version = "1"

[dev-dependencies.rouille]
version = "3"

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