summaryrefslogtreecommitdiffstats
path: root/vendor/curl/Cargo.toml
blob: a3eebacacd2d17dca8b72abc15955a5138d15365 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
# 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.44"
authors = ["Alex Crichton <alex@alexcrichton.com>"]
autotests = true
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"

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

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

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

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

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

[[test]]
name = "atexit"
harness = false

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

[dependencies.libc]
version = "0.2.42"

[dependencies.socket2]
version = "0.4.0"

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

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

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

[features]
default = ["ssl"]
force-system-lib-on-osx = ["curl-sys/force-system-lib-on-osx"]
http2 = ["curl-sys/http2"]
ssl = [
    "openssl-sys",
    "openssl-probe",
    "curl-sys/ssl",
]
static-curl = ["curl-sys/static-curl"]
static-ssl = ["curl-sys/static-ssl"]

[target."cfg(all(unix, not(target_os = \"macos\")))".dependencies.openssl-probe]
version = "0.1.2"
optional = true

[target."cfg(all(unix, not(target_os = \"macos\")))".dependencies.openssl-sys]
version = "0.9.43"
optional = true

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

[target."cfg(target_env = \"msvc\")".dependencies.winapi]
version = "0.3"
features = [
    "libloaderapi",
    "wincrypt",
]

[badges.appveyor]
repository = "alexcrichton/curl-rust"

[badges.travis-ci]
repository = "alexcrichton/curl-rust"