Debian Codegraph @

debian/missing-sources/futures-util/Cargo.toml.orig

raw
1 [package]
2 name = "futures-util"
3 version = "0.3.32"
4 edition = "2018"
5 # NB: Sync with "Usage" section in README.md and util-msrv job in .github/workflows/ci.yml
6 rust-version = "1.71"
7 license = "MIT OR Apache-2.0"
8 repository = "https://github.com/rust-lang/futures-rs"
9 homepage = "https://rust-lang.github.io/futures-rs"
10 description = """
11 Common utilities and extension traits for the futures-rs library.
12 """
13
14 [features]
15 default = ["std", "async-await", "async-await-macro"]
16 std = ["alloc", "futures-core/std", "futures-task/std", "slab/std"]
17 alloc = ["futures-core/alloc", "futures-task/alloc", "slab"]
18 async-await = []
19 async-await-macro = ["async-await", "futures-macro"]
20 compat = ["std", "futures_01", "libc"]
21 io-compat = ["io", "compat", "tokio-io", "libc"]
22 sink = ["futures-sink"]
23 io = ["std", "futures-io", "memchr"]
24 channel = ["std", "futures-channel"]
25 portable-atomic = ["futures-core/portable-atomic"]
26
27 # Unstable features
28 # These features are outside of the normal semver guarantees and require the
29 # `unstable` feature as an explicit opt-in to unstable API.
30 unstable = ["futures-core/unstable", "futures-task/unstable"]
31 bilock = []
32 write-all-vectored = ["io"]
33
34 # These features are no longer used.
35 # TODO: remove in the next major version.
36 cfg-target-has-atomic = []
37
38 [dependencies]
39 futures-core = { path = "../futures-core", version = "0.3.32", default-features = false }
40 futures-task = { path = "../futures-task", version = "0.3.32", default-features = false }
41 futures-channel = { path = "../futures-channel", version = "0.3.32", default-features = false, features = ["std"], optional = true }
42 futures-io = { path = "../futures-io", version = "0.3.32", default-features = false, features = ["std"], optional = true }
43 futures-sink = { path = "../futures-sink", version = "0.3.32", default-features = false, optional = true }
44 futures-macro = { path = "../futures-macro", version = "=0.3.32", default-features = false, optional = true }
45 slab = { version = "0.4.7", default-features = false, optional = true }
46 memchr = { version = "2.2", optional = true }
47 futures_01 = { version = "0.1.25", optional = true, package = "futures" }
48 tokio-io = { version = "0.1.9", optional = true }
49 pin-project-lite = "0.2.6"
50 spin = { version = "0.10.0", optional = true }
51
52 # INDIRECT DEPENDENCYS BUT ONLY FOR SPECIFIC MINIMAL VERSIONS
53 libc = { version = "0.2.26", optional = true }
54
55 [dev-dependencies]
56 futures = { path = "../futures", features = ["async-await", "thread-pool"] }
57 futures-test = { path = "../futures-test" }
58 tokio = "0.1.11"
59
60 [package.metadata.docs.rs]
61 all-features = true
62 rustdoc-args = ["--cfg", "docsrs"]
63
64 [lints]
65 workspace = true