curl 0.4.50

Rust bindings to libcurl for making HTTP requests
Documentation
# 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"
name = "curl"
version = "0.4.50"
authors = ["Alex Crichton <alex@alexcrichton.com>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust bindings to libcurl for making HTTP requests"
homepage = "https://github.com/alexcrichton/curl-rust"
documentation = "https://docs.rs/curl"
readme = "README.md"
categories = [
    "api-bindings",
    "web-programming::http-client",
]
license = "MIT"
repository = "https://github.com/alexcrichton/curl-rust"

[features]
default = ["ssl"]
force-system-lib-on-osx = ["curl-sys/force-system-lib-on-osx"]
http2 = ["curl-sys/http2"]
mesalink = ["curl-sys/mesalink"]
ntlm = ["curl-sys/ntlm"]
poll_7_68_0 = ["curl-sys/poll_7_68_0"]
protocol-ftp = ["curl-sys/protocol-ftp"]
rustls = ["curl-sys/rustls"]
spnego = ["curl-sys/spnego"]
ssl = [
    "openssl-sys",
    "openssl-probe",
    "curl-sys/ssl",
]
static-curl = ["curl-sys/static-curl"]
static-ssl = ["curl-sys/static-ssl"]
upkeep_7_62_0 = ["curl-sys/upkeep_7_62_0"]
windows-static-ssl = [
    "static-curl",
    "curl-sys/windows-static-ssl",
]
zlib-ng-compat = [
    "curl-sys/zlib-ng-compat",
    "static-curl",
]

[lib]
name = "curl"
path = "src/lib.rs"

[[example]]
name = "aws_sigv4"
path = "examples/aws_sigv4.rs"
required-features = [
    "static-curl",
    "ssl",
]

[[example]]
name = "doh"
path = "examples/doh.rs"

[[example]]
name = "https"
path = "examples/https.rs"

[[example]]
name = "multi-dl"
path = "examples/multi-dl.rs"
required-features = ["ssl"]

[[example]]
name = "ssl_cert_blob"
path = "examples/ssl_cert_blob.rs"
required-features = ["ssl"]

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

[[example]]
name = "ssl_proxy"
path = "examples/ssl_proxy.rs"
required-features = ["ssl"]

[[test]]
name = "atexit"
path = "tests/atexit.rs"
harness = false

[[test]]
name = "easy"
path = "tests/easy.rs"

[[test]]
name = "multi"
path = "tests/multi.rs"

[[test]]
name = "post"
path = "tests/post.rs"

[[test]]
name = "protocols"
path = "tests/protocols.rs"

[dependencies.curl-sys]
version = "0.4.89"
default-features = false

[dependencies.libc]
version = "0.2.42"

[dependencies.socket2]
version = "0.6.0"

[dev-dependencies.anyhow]
version = "1.0.31"

[dev-dependencies.mio]
version = "0.6"

[dev-dependencies.mio-extras]
version = "2.0.3"

[target."cfg(all(unix))".dependencies.openssl-probe]
version = "0.1.2"
optional = true

[target."cfg(all(unix))".dependencies.openssl-sys]
version = "0.9.64"
optional = true

[target.'cfg(target_env = "msvc")'.dependencies.schannel]
version = "0.1.13"

[target.'cfg(target_env = "msvc")'.dependencies.windows-sys]
version = ">=0.59.0, <0.62.0"
features = [
    "Win32_Foundation",
    "Win32_System_LibraryLoader",
    "Win32_Security_Cryptography",
]