Jason Macnak | 09c3688 | 2020-04-01 16:22:56 +0000 | [diff] [blame] | 1 | [package] |
| 2 | name = "futures-channel" |
| 3 | edition = "2018" |
Joel Galenson | 7980c2c | 2021-04-01 15:55:17 -0700 | [diff] [blame] | 4 | version = "0.3.13" |
Jason Macnak | 09c3688 | 2020-04-01 16:22:56 +0000 | [diff] [blame] | 5 | authors = ["Alex Crichton <alex@alexcrichton.com>"] |
| 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" |
Haibo Huang | 09da603 | 2021-02-09 17:02:02 -0800 | [diff] [blame] | 9 | documentation = "https://docs.rs/futures-channel/0.3" |
Jason Macnak | 09c3688 | 2020-04-01 16:22:56 +0000 | [diff] [blame] | 10 | description = """ |
| 11 | Channels for asynchronous communication using futures-rs. |
| 12 | """ |
| 13 | |
| 14 | [features] |
| 15 | default = ["std"] |
| 16 | std = ["alloc", "futures-core/std"] |
| 17 | alloc = ["futures-core/alloc"] |
| 18 | sink = ["futures-sink"] |
| 19 | |
| 20 | # Unstable features |
| 21 | # These features are outside of the normal semver guarantees and require the |
| 22 | # `unstable` feature as an explicit opt-in to unstable API. |
| 23 | unstable = ["futures-core/unstable"] |
| 24 | cfg-target-has-atomic = ["futures-core/cfg-target-has-atomic"] |
| 25 | |
| 26 | [dependencies] |
Joel Galenson | 7980c2c | 2021-04-01 15:55:17 -0700 | [diff] [blame] | 27 | futures-core = { path = "../futures-core", version = "0.3.13", default-features = false } |
| 28 | futures-sink = { path = "../futures-sink", version = "0.3.13", default-features = false, optional = true } |
Haibo Huang | 09da603 | 2021-02-09 17:02:02 -0800 | [diff] [blame] | 29 | |
| 30 | [dev-dependencies] |
| 31 | futures = { path = "../futures", default-features = true } |
| 32 | futures-test = { path = "../futures-test", default-features = true } |
Jason Macnak | 09c3688 | 2020-04-01 16:22:56 +0000 | [diff] [blame] | 33 | |
| 34 | [package.metadata.docs.rs] |
| 35 | all-features = true |
Chih-Hung Hsieh | bc88f08 | 2020-10-25 23:16:20 -0700 | [diff] [blame] | 36 | rustdoc-args = ["--cfg", "docsrs"] |