| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
[package] |
| 13 |
edition = "2018" |
| 14 |
rust-version = "1.56" |
| 15 |
name = "futures-channel" |
| 16 |
version = "0.3.31" |
| 17 |
build = false |
| 18 |
autobins = false |
| 19 |
autoexamples = false |
| 20 |
autotests = false |
| 21 |
autobenches = false |
| 22 |
description = """ |
| 23 |
Channels for asynchronous communication using futures-rs. |
| 24 |
""" |
| 25 |
homepage = "https://rust-lang.github.io/futures-rs" |
| 26 |
readme = "README.md" |
| 27 |
license = "MIT OR Apache-2.0" |
| 28 |
repository = "https://github.com/rust-lang/futures-rs" |
| 29 |
|
| 30 |
[package.metadata.docs.rs] |
| 31 |
all-features = true |
| 32 |
rustdoc-args = [ |
| 33 |
"--cfg", |
| 34 |
"docsrs", |
| 35 |
] |
| 36 |
|
| 37 |
[lib] |
| 38 |
name = "futures_channel" |
| 39 |
path = "src/lib.rs" |
| 40 |
|
| 41 |
[[test]] |
| 42 |
name = "channel" |
| 43 |
path = "tests/channel.rs" |
| 44 |
|
| 45 |
[[test]] |
| 46 |
name = "mpsc" |
| 47 |
path = "tests/mpsc.rs" |
| 48 |
|
| 49 |
[[test]] |
| 50 |
name = "mpsc-close" |
| 51 |
path = "tests/mpsc-close.rs" |
| 52 |
|
| 53 |
[[test]] |
| 54 |
name = "mpsc-size_hint" |
| 55 |
path = "tests/mpsc-size_hint.rs" |
| 56 |
|
| 57 |
[[test]] |
| 58 |
name = "oneshot" |
| 59 |
path = "tests/oneshot.rs" |
| 60 |
|
| 61 |
[[bench]] |
| 62 |
name = "sync_mpsc" |
| 63 |
path = "benches/sync_mpsc.rs" |
| 64 |
|
| 65 |
[dependencies.futures-core] |
| 66 |
version = "0.3.31" |
| 67 |
default-features = false |
| 68 |
|
| 69 |
[dependencies.futures-sink] |
| 70 |
version = "0.3.31" |
| 71 |
optional = true |
| 72 |
default-features = false |
| 73 |
|
| 74 |
[dev-dependencies] |
| 75 |
|
| 76 |
[features] |
| 77 |
alloc = ["futures-core/alloc"] |
| 78 |
cfg-target-has-atomic = [] |
| 79 |
default = ["std"] |
| 80 |
sink = ["futures-sink"] |
| 81 |
std = [ |
| 82 |
"alloc", |
| 83 |
"futures-core/std", |
| 84 |
] |
| 85 |
unstable = [] |
| 86 |
|
| 87 |
[lints.rust] |
| 88 |
missing_debug_implementations = "warn" |
| 89 |
rust_2018_idioms = "warn" |
| 90 |
single_use_lifetimes = "warn" |
| 91 |
unreachable_pub = "warn" |
| 92 |
|
| 93 |
[lints.rust.unexpected_cfgs] |
| 94 |
level = "warn" |
| 95 |
priority = 0 |
| 96 |
check-cfg = ["cfg(futures_sanitizer)"] |