Merge mozilla-central to autoland. a=merge CLOSED TREE
[gecko.git] / third_party / rust / futures-util / Cargo.toml
bloba3b9cadf2df281f91c85786848999a66029e1bc4
1 # THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
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.
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.
12 [package]
13 edition = "2018"
14 rust-version = "1.56"
15 name = "futures-util"
16 version = "0.3.28"
17 description = """
18 Common utilities and extension traits for the futures-rs library.
19 """
20 homepage = "https://rust-lang.github.io/futures-rs"
21 readme = "README.md"
22 license = "MIT OR Apache-2.0"
23 repository = "https://github.com/rust-lang/futures-rs"
25 [package.metadata.docs.rs]
26 all-features = true
27 rustdoc-args = [
28     "--cfg",
29     "docsrs",
32 [dependencies.futures-channel]
33 version = "0.3.28"
34 features = ["std"]
35 optional = true
36 default-features = false
38 [dependencies.futures-core]
39 version = "0.3.28"
40 default-features = false
42 [dependencies.futures-io]
43 version = "0.3.28"
44 features = ["std"]
45 optional = true
46 default-features = false
48 [dependencies.futures-macro]
49 version = "=0.3.28"
50 optional = true
51 default-features = false
53 [dependencies.futures-sink]
54 version = "0.3.28"
55 optional = true
56 default-features = false
58 [dependencies.futures-task]
59 version = "0.3.28"
60 default-features = false
62 [dependencies.futures_01]
63 version = "0.1.25"
64 optional = true
65 package = "futures"
67 [dependencies.memchr]
68 version = "2.2"
69 optional = true
71 [dependencies.pin-project-lite]
72 version = "0.2.6"
74 [dependencies.pin-utils]
75 version = "0.1.0"
77 [dependencies.slab]
78 version = "0.4.2"
79 optional = true
81 [dependencies.tokio-io]
82 version = "0.1.9"
83 optional = true
85 [dev-dependencies.tokio]
86 version = "0.1.11"
88 [features]
89 alloc = [
90     "futures-core/alloc",
91     "futures-task/alloc",
93 async-await = []
94 async-await-macro = [
95     "async-await",
96     "futures-macro",
98 bilock = []
99 cfg-target-has-atomic = []
100 channel = [
101     "std",
102     "futures-channel",
104 compat = [
105     "std",
106     "futures_01",
108 default = [
109     "std",
110     "async-await",
111     "async-await-macro",
113 io = [
114     "std",
115     "futures-io",
116     "memchr",
118 io-compat = [
119     "io",
120     "compat",
121     "tokio-io",
123 portable-atomic = ["futures-core/portable-atomic"]
124 sink = ["futures-sink"]
125 std = [
126     "alloc",
127     "futures-core/std",
128     "futures-task/std",
129     "slab",
131 unstable = [
132     "futures-core/unstable",
133     "futures-task/unstable",
135 write-all-vectored = ["io"]