| 1 |
[package] |
| 2 |
name = "futures-core" |
| 3 |
version = "0.3.32" |
| 4 |
edition = "2018" |
| 5 |
# NB: Sync with "Usage" section in README.md and core-msrv job in .github/workflows/ci.yml |
| 6 |
rust-version = "1.36" |
| 7 |
license = "MIT OR Apache-2.0" |
| 8 |
repository = "https://github.com/rust-lang/futures-rs" |
| 9 |
homepage = "https://rust-lang.github.io/futures-rs" |
| 10 |
description = """ |
| 11 |
The core traits and types in for the `futures` library. |
| 12 |
""" |
| 13 |
|
| 14 |
[features] |
| 15 |
default = ["std"] |
| 16 |
std = ["alloc"] |
| 17 |
alloc = [] |
| 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 |
portable-atomic = { version = "1.3", optional = true, default-features = false, features = ["require-cas"] } |
| 26 |
|
| 27 |
[dev-dependencies] |
| 28 |
futures = { path = "../futures" } |
| 29 |
|
| 30 |
[package.metadata.docs.rs] |
| 31 |
all-features = true |
| 32 |
rustdoc-args = ["--cfg", "docsrs"] |
| 33 |
|
| 34 |
[lints] |
| 35 |
workspace = true |