]> git.proxmox.com Git - rustc.git/blame - vendor/futures/Cargo.toml
Update upstream source from tag 'upstream/1.70.0+dfsg1'
[rustc.git] / vendor / futures / Cargo.toml
CommitLineData
5099ac24
FG
1# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
2#
3# When uploading crates to the registry Cargo will automatically
4# "normalize" Cargo.toml files for maximal compatibility
5# with all versions of Cargo and also rewrite `path` dependencies
6# to registry (e.g., crates.io) dependencies.
7#
8# If you are reading this file be aware that the original Cargo.toml
9# will likely look very different (and much more reasonable).
10# See Cargo.toml.orig for the original contents.
11
12[package]
13edition = "2018"
353b0b11 14rust-version = "1.56"
5099ac24 15name = "futures"
353b0b11
FG
16version = "0.3.28"
17description = """
18An implementation of futures and streams featuring zero allocations,
19composability, and iterator-like interfaces.
20"""
5099ac24 21homepage = "https://rust-lang.github.io/futures-rs"
353b0b11
FG
22readme = "README.md"
23keywords = [
24 "futures",
25 "async",
26 "future",
27]
5099ac24
FG
28categories = ["asynchronous"]
29license = "MIT OR Apache-2.0"
30repository = "https://github.com/rust-lang/futures-rs"
353b0b11 31
5099ac24
FG
32[package.metadata.docs.rs]
33all-features = true
353b0b11
FG
34rustdoc-args = [
35 "--cfg",
36 "docsrs",
37]
5099ac24
FG
38
39[package.metadata.playground]
353b0b11
FG
40features = [
41 "std",
42 "async-await",
43 "compat",
44 "io-compat",
45 "executor",
46 "thread-pool",
47]
48
5099ac24 49[dependencies.futures-channel]
353b0b11 50version = "0.3.28"
5099ac24
FG
51features = ["sink"]
52default-features = false
53
54[dependencies.futures-core]
353b0b11 55version = "0.3.28"
5099ac24
FG
56default-features = false
57
58[dependencies.futures-executor]
353b0b11 59version = "0.3.28"
5099ac24
FG
60optional = true
61default-features = false
62
63[dependencies.futures-io]
353b0b11 64version = "0.3.28"
5099ac24
FG
65default-features = false
66
67[dependencies.futures-sink]
353b0b11 68version = "0.3.28"
5099ac24
FG
69default-features = false
70
71[dependencies.futures-task]
353b0b11 72version = "0.3.28"
5099ac24
FG
73default-features = false
74
75[dependencies.futures-util]
353b0b11 76version = "0.3.28"
5099ac24
FG
77features = ["sink"]
78default-features = false
353b0b11 79
5099ac24
FG
80[dev-dependencies.assert_matches]
81version = "1.3.0"
82
83[dev-dependencies.pin-project]
353b0b11 84version = "1.0.11"
5099ac24
FG
85
86[dev-dependencies.pin-utils]
87version = "0.1.0"
88
89[dev-dependencies.static_assertions]
90version = "1"
91
92[dev-dependencies.tokio]
93version = "0.1.11"
94
95[features]
353b0b11
FG
96alloc = [
97 "futures-core/alloc",
98 "futures-task/alloc",
99 "futures-sink/alloc",
100 "futures-channel/alloc",
101 "futures-util/alloc",
102]
103async-await = [
104 "futures-util/async-await",
105 "futures-util/async-await-macro",
106]
5099ac24
FG
107bilock = ["futures-util/bilock"]
108cfg-target-has-atomic = []
353b0b11
FG
109compat = [
110 "std",
111 "futures-util/compat",
112]
113default = [
114 "std",
115 "async-await",
116 "executor",
117]
118executor = [
119 "std",
120 "futures-executor/std",
121]
122io-compat = [
123 "compat",
124 "futures-util/io-compat",
125]
126std = [
127 "alloc",
128 "futures-core/std",
129 "futures-task/std",
130 "futures-io/std",
131 "futures-sink/std",
132 "futures-util/std",
133 "futures-util/io",
134 "futures-util/channel",
135]
136thread-pool = [
137 "executor",
138 "futures-executor/thread-pool",
139]
140unstable = [
141 "futures-core/unstable",
142 "futures-task/unstable",
143 "futures-channel/unstable",
144 "futures-io/unstable",
145 "futures-util/unstable",
146]
5099ac24 147write-all-vectored = ["futures-util/write-all-vectored"]