Jason Macnak | 09c3688 | 2020-04-01 16:22:56 +0000 | [diff] [blame] | 1 | [package] |
| 2 | name = "futures-channel" |
David LeGare | f7dc9c1 | 2022-03-02 00:20:44 +0000 | [diff] [blame] | 3 | version = "0.3.21" |
Jason Macnak | 09c3688 | 2020-04-01 16:22:56 +0000 | [diff] [blame] | 4 | edition = "2018" |
David LeGare | f7dc9c1 | 2022-03-02 00:20:44 +0000 | [diff] [blame] | 5 | rust-version = "1.45" |
Jason Macnak | 09c3688 | 2020-04-01 16:22:56 +0000 | [diff] [blame] | 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" |
Jason Macnak | 09c3688 | 2020-04-01 16:22:56 +0000 | [diff] [blame] | 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 | |
Joel Galenson | cc0890a | 2021-05-19 15:09:47 -0700 | [diff] [blame] | 19 | # These features are no longer used. |
| 20 | # TODO: remove in the next major version. |
| 21 | unstable = [] |
| 22 | cfg-target-has-atomic = [] |
Jason Macnak | 09c3688 | 2020-04-01 16:22:56 +0000 | [diff] [blame] | 23 | |
| 24 | [dependencies] |
David LeGare | f7dc9c1 | 2022-03-02 00:20:44 +0000 | [diff] [blame] | 25 | futures-core = { path = "../futures-core", version = "0.3.21", default-features = false } |
| 26 | futures-sink = { path = "../futures-sink", version = "0.3.21", default-features = false, optional = true } |
Haibo Huang | 09da603 | 2021-02-09 17:02:02 -0800 | [diff] [blame] | 27 | |
| 28 | [dev-dependencies] |
| 29 | futures = { path = "../futures", default-features = true } |
| 30 | futures-test = { path = "../futures-test", default-features = true } |
Jason Macnak | 09c3688 | 2020-04-01 16:22:56 +0000 | [diff] [blame] | 31 | |
| 32 | [package.metadata.docs.rs] |
| 33 | all-features = true |
Chih-Hung Hsieh | bc88f08 | 2020-10-25 23:16:20 -0700 | [diff] [blame] | 34 | rustdoc-args = ["--cfg", "docsrs"] |