| 1 |
[package] |
| 2 |
name = "futures-channel" |
| 3 |
version = "0.3.31" |
| 4 |
edition = "2018" |
| 5 |
rust-version = "1.56" |
| 6 |
license = "MIT OR Apache-2.0" |
| 7 |
repository = "https://github.com/rust-lang/futures-rs" |
| 8 |
homepage = "https://rust-lang.github.io/futures-rs" |
| 9 |
description = """ |
| 10 |
Channels for asynchronous communication using futures-rs. |
| 11 |
""" |
| 12 |
|
| 13 |
[features] |
| 14 |
default = ["std"] |
| 15 |
std = ["alloc", "futures-core/std"] |
| 16 |
alloc = ["futures-core/alloc"] |
| 17 |
sink = ["futures-sink"] |
| 18 |
|
| 19 |
# These features are no longer used. |
| 20 |
# TODO: remove in the next major version. |
| 21 |
unstable = [] |
| 22 |
cfg-target-has-atomic = [] |
| 23 |
|
| 24 |
[dependencies] |
| 25 |
futures-core = { path = "../futures-core", version = "0.3.31", default-features = false } |
| 26 |
futures-sink = { path = "../futures-sink", version = "0.3.31", default-features = false, optional = true } |
| 27 |
|
| 28 |
[dev-dependencies] |
| 29 |
futures = { path = "../futures", default-features = true } |
| 30 |
futures-test = { path = "../futures-test", default-features = true } |
| 31 |
|
| 32 |
[package.metadata.docs.rs] |
| 33 |
all-features = true |
| 34 |
rustdoc-args = ["--cfg", "docsrs"] |
| 35 |
|
| 36 |
[lints] |
| 37 |
workspace = true |