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-channel"
16version = "0.3.31"
17build = false
18autobins = false
19autoexamples = false
20autotests = false
21autobenches = false
22description = """
23Channels for asynchronous communication using futures-rs.
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_channel"
39path = "src/lib.rs"
40
41[[test]]
42name = "channel"
43path = "tests/channel.rs"
44
45[[test]]
46name = "mpsc"
47path = "tests/mpsc.rs"
48
49[[test]]
50name = "mpsc-close"
51path = "tests/mpsc-close.rs"
52
53[[test]]
54name = "mpsc-size_hint"
55path = "tests/mpsc-size_hint.rs"
56
57[[test]]
58name = "oneshot"
59path = "tests/oneshot.rs"
60
61[[bench]]
62name = "sync_mpsc"
63path = "benches/sync_mpsc.rs"
64
65[dependencies.futures-core]
66version = "0.3.31"
67default-features = false
68
69[dependencies.futures-sink]
70version = "0.3.31"
71optional = true
72default-features = false
73
74[dev-dependencies]
75futures = "0.3.21"
76futures-test = "0.3.21"
77
78[features]
79alloc = ["futures-core/alloc"]
80cfg-target-has-atomic = []
81default = ["std"]
82sink = ["futures-sink"]
83std = [
84    "alloc",
85    "futures-core/std",
86]
87unstable = []
88
89[lints.rust]
90missing_debug_implementations = "warn"
91rust_2018_idioms = "warn"
92single_use_lifetimes = "warn"
93unreachable_pub = "warn"
94
95[lints.rust.unexpected_cfgs]
96level = "warn"
97priority = 0
98check-cfg = ["cfg(futures_sanitizer)"]
99