2024-10-16 14:15:33 +03:00
# 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 are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.
[ package ]
edition = "2018"
2024-10-16 15:19:37 +03:00
rust-version = "1.63"
2024-10-16 14:15:33 +03:00
name = "ureq"
2024-10-16 15:19:37 +03:00
version = "2.10.1"
2024-10-16 14:15:33 +03:00
authors = [
"Martin Algesten <martin@algesten.se>" ,
"Jacob Hoffman-Andrews <ureq@hoffman-andrews.com>" ,
]
2024-10-16 15:19:37 +03:00
build = false
2024-10-16 14:15:33 +03:00
exclude = [
"/cargo_deny.sh" ,
"/deny.toml" ,
"/test.sh" ,
]
2024-10-16 15:19:37 +03:00
autobins = false
autoexamples = false
autotests = false
autobenches = false
2024-10-16 14:15:33 +03:00
description = "Simple, safe HTTP client"
readme = "README.md"
keywords = [
"web" ,
"request" ,
"https" ,
"http" ,
"client" ,
]
categories = [ "web-programming::http-client" ]
license = "MIT OR Apache-2.0"
repository = "https://github.com/algesten/ureq"
[ package . metadata . docs . rs ]
features = [
"tls" ,
"native-tls" ,
"json" ,
"charset" ,
"cookies" ,
"socks-proxy" ,
"gzip" ,
"brotli" ,
"http-interop" ,
2024-10-16 15:19:37 +03:00
"http-crate" ,
2024-10-16 14:15:33 +03:00
]
rustdoc-args = [
"--cfg" ,
"docsrs" ,
]
2024-10-16 15:19:37 +03:00
[ lib ]
name = "ureq"
path = "src/lib.rs"
[ [ example ] ]
name = "count-bytes"
path = "examples/count-bytes.rs"
2024-10-16 14:15:33 +03:00
[ [ example ] ]
name = "cureq"
2024-10-16 15:19:37 +03:00
path = "examples/cureq/main.rs"
2024-10-16 14:15:33 +03:00
required-features = [
"charset" ,
"cookies" ,
"socks-proxy" ,
"native-tls" ,
]
2024-10-16 15:19:37 +03:00
[ [ example ] ]
name = "custom-tls"
path = "examples/custom-tls.rs"
[ [ example ] ]
name = "ipv6"
path = "examples/ipv6.rs"
[ [ example ] ]
name = "smoke-test"
path = "examples/smoke-test/main.rs"
2024-10-16 14:15:33 +03:00
[ [ example ] ]
name = "tls_config"
2024-10-16 15:19:37 +03:00
path = "examples/tls_config.rs"
2024-10-16 14:15:33 +03:00
required-features = [
"tls" ,
"native-tls" ,
]
2024-10-16 15:19:37 +03:00
[ [ test ] ]
name = "https-agent"
path = "tests/https-agent.rs"
2024-10-16 14:15:33 +03:00
[ dependencies . base64 ]
2024-10-16 15:19:37 +03:00
version = "0.22"
2024-10-16 14:15:33 +03:00
[ dependencies . brotli-decompressor ]
2024-10-16 15:19:37 +03:00
version = "4.0.0"
2024-10-16 14:15:33 +03:00
optional = true
[ dependencies . cookie ]
version = "0.18"
optional = true
default-features = false
[ dependencies . cookie_store ]
version = "0.21"
features = [ "preserve_order" ]
optional = true
default-features = false
[ dependencies . encoding_rs ]
version = "0.8"
optional = true
[ dependencies . flate2 ]
version = "1.0.22"
optional = true
[ dependencies . hootbin ]
version = "0.1.5"
optional = true
[ dependencies . http ]
2024-10-16 15:19:37 +03:00
version = "1.1"
2024-10-16 14:15:33 +03:00
optional = true
[ dependencies . http-02 ]
version = "0.2"
optional = true
package = "http"
[ dependencies . log ]
version = "0.4"
[ dependencies . native-tls ]
version = "0.2"
optional = true
[ dependencies . once_cell ]
version = "1"
[ dependencies . rustls ]
2024-10-16 15:19:37 +03:00
version = "0.23.5"
features = [
"ring" ,
"logging" ,
"std" ,
"tls12" ,
]
2024-10-16 14:15:33 +03:00
optional = true
2024-10-16 15:19:37 +03:00
default-features = false
2024-10-16 14:15:33 +03:00
[ dependencies . rustls-native-certs ]
version = "0.7"
optional = true
[ dependencies . rustls-pki-types ]
version = "1"
optional = true
[ dependencies . serde ]
version = "1"
optional = true
[ dependencies . serde_json ]
version = ">=1.0.97"
optional = true
[ dependencies . socks ]
version = "0.3"
optional = true
[ dependencies . url ]
version = "2"
[ dependencies . webpki-roots ]
version = "0.26"
optional = true
[ dev-dependencies . env_logger ]
version = "<=0.9"
2024-10-16 15:19:37 +03:00
features = [ "humantime" ]
default-features = false
2024-10-16 14:15:33 +03:00
[ dev-dependencies . rustls ]
2024-10-16 15:19:37 +03:00
version = "0.23.5"
features = [
"std" ,
"ring" ,
]
default-features = false
2024-10-16 14:15:33 +03:00
[ dev-dependencies . rustls-pemfile ]
version = "2.0"
[ dev-dependencies . serde ]
version = "1"
features = [ "derive" ]
[ features ]
brotli = [ "dep:brotli-decompressor" ]
charset = [ "dep:encoding_rs" ]
cookies = [
"dep:cookie" ,
"dep:cookie_store" ,
]
default = [
"tls" ,
"gzip" ,
]
gzip = [ "dep:flate2" ]
http-crate = [ "dep:http" ]
http-interop = [ "dep:http-02" ]
json = [
"dep:serde" ,
"dep:serde_json" ,
]
native-certs = [ "dep:rustls-native-certs" ]
native-tls = [ "dep:native-tls" ]
proxy-from-env = [ ]
socks-proxy = [ "dep:socks" ]
testdeps = [ "dep:hootbin" ]
tls = [
"dep:webpki-roots" ,
"dep:rustls" ,
"dep:rustls-pki-types" ,
]