[dependencies.curl-sys]
default-features = false
version = "0.4.77"
[dependencies.libc]
version = "0.2.42"
[dependencies.socket2]
version = "0.5.0"
[dev-dependencies.anyhow]
version = "1.0.31"
[dev-dependencies.mio]
version = "0.6"
[dev-dependencies.mio-extras]
version = "2.0.3"
[[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"]
[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"
[package]
authors = ["Alex Crichton <alex@alexcrichton.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = "build.rs"
categories = ["api-bindings", "web-programming::http-client"]
description = "Rust bindings to libcurl for making HTTP requests"
documentation = "https://docs.rs/curl"
edition = "2018"
homepage = "https://github.com/alexcrichton/curl-rust"
license = "MIT"
name = "curl"
readme = "README.md"
repository = "https://github.com/alexcrichton/curl-rust"
version = "0.4.48"
[target.'cfg(all(unix, not(target_os = "macos")))'.dependencies.openssl-probe]
optional = true
version = "0.1.2"
[target.'cfg(all(unix, not(target_os = "macos")))'.dependencies.openssl-sys]
optional = true
version = "0.9.64"
[target.'cfg(target_env = "msvc")'.dependencies.schannel]
version = "0.1.13"
[target.'cfg(target_env = "msvc")'.dependencies.windows-sys]
features = ["Win32_Foundation", "Win32_System_LibraryLoader", "Win32_Security_Cryptography"]
version = "0.59"
[[test]]
harness = false
name = "atexit"
path = "tests/atexit.rs"
[[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"