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"
14rust-version = "1.56"
15name = "futures-util"
16version = "0.3.31"
17build = false
18autobins = false
19autoexamples = false
20autotests = false
21autobenches = false
22description = """
23Common utilities and extension traits for the futures-rs library.
24"""
25homepage = "https://rust-lang.github.io/futures-rs"
26readme = "README.md"
27license = "MIT OR Apache-2.0"
28repository = "https://github.com/rust-lang/futures-rs"
29
30[package.metadata.docs.rs]
31all-features = true
32rustdoc-args = [
33    "--cfg",
34    "docsrs",
35]
36
37[lib]
38name = "futures_util"
39path = "src/lib.rs"
40
41[[bench]]
42name = "bilock"
43path = "benches/bilock.rs"
44
45[[bench]]
46name = "flatten_unordered"
47path = "benches/flatten_unordered.rs"
48
49[[bench]]
50name = "futures_unordered"
51path = "benches/futures_unordered.rs"
52
53[[bench]]
54name = "select"
55path = "benches/select.rs"
56
57[dependencies.futures-channel]
58version = "0.3.31"
59features = ["std"]
60optional = true
61default-features = false
62
63[dependencies.futures-core]
64version = "0.3.31"
65default-features = false
66
67[dependencies.futures-io]
68version = "0.3.31"
69features = ["std"]
70optional = true
71default-features = false
72
73[dependencies.futures-macro]
74version = "=0.3.31"
75optional = true
76default-features = false
77
78[dependencies.futures-sink]
79version = "0.3.31"
80optional = true
81default-features = false
82
83[dependencies.futures-task]
84version = "0.3.31"
85default-features = false
86
87[dependencies.futures_01]
88version = "0.1.25"
89optional = true
90package = "futures"
91
92[dependencies.memchr]
93version = "2.2"
94optional = true
95
96[dependencies.pin-project-lite]
97version = "0.2.6"
98
99[dependencies.pin-utils]
100version = "0.1.0"
101
102[dependencies.slab]
103version = "0.4.2"
104optional = true
105
106[dependencies.tokio-io]
107version = "0.1.9"
108optional = true
109
110[dev-dependencies.tokio]
111version = "0.1.11"
112
113[features]
114alloc = [
115    "futures-core/alloc",
116    "futures-task/alloc",
117]
118async-await = []
119async-await-macro = [
120    "async-await",
121    "futures-macro",
122]
123bilock = []
124cfg-target-has-atomic = []
125channel = [
126    "std",
127    "futures-channel",
128]
129compat = [
130    "std",
131    "futures_01",
132]
133default = [
134    "std",
135    "async-await",
136    "async-await-macro",
137]
138io = [
139    "std",
140    "futures-io",
141    "memchr",
142]
143io-compat = [
144    "io",
145    "compat",
146    "tokio-io",
147]
148portable-atomic = ["futures-core/portable-atomic"]
149sink = ["futures-sink"]
150std = [
151    "alloc",
152    "futures-core/std",
153    "futures-task/std",
154    "slab",
155]
156unstable = [
157    "futures-core/unstable",
158    "futures-task/unstable",
159]
160write-all-vectored = ["io"]
161
162[lints.rust]
163missing_debug_implementations = "warn"
164rust_2018_idioms = "warn"
165single_use_lifetimes = "warn"
166unreachable_pub = "warn"
167
168[lints.rust.unexpected_cfgs]
169level = "warn"
170priority = 0
171check-cfg = ["cfg(futures_sanitizer)"]
172