| 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] |
| 13 |
edition = "2018" |
| 14 |
rust-version = "1.36" |
| 15 |
name = "futures-core" |
| 16 |
version = "0.3.34" |
| 17 |
build = false |
| 18 |
autolib = false |
| 19 |
autobins = false |
| 20 |
autoexamples = false |
| 21 |
autotests = false |
| 22 |
autobenches = false |
| 23 |
description = """ |
| 24 |
The core traits and types in for the `futures` library. |
| 25 |
""" |
| 26 |
homepage = "https://rust-lang.github.io/futures-rs" |
| 27 |
readme = "README.md" |
| 28 |
license = "MIT OR Apache-2.0" |
| 29 |
repository = "https://github.com/rust-lang/futures-rs" |
| 30 |
|
| 31 |
[package.metadata.docs.rs] |
| 32 |
all-features = true |
| 33 |
rustdoc-args = [ |
| 34 |
"--cfg", |
| 35 |
"docsrs", |
| 36 |
] |
| 37 |
|
| 38 |
[features] |
| 39 |
alloc = [] |
| 40 |
cfg-target-has-atomic = [] |
| 41 |
default = ["std"] |
| 42 |
std = ["alloc"] |
| 43 |
unstable = [] |
| 44 |
|
| 45 |
[lib] |
| 46 |
name = "futures_core" |
| 47 |
path = "src/lib.rs" |
| 48 |
|
| 49 |
[dependencies.portable-atomic] |
| 50 |
version = "1.3" |
| 51 |
features = ["require-cas"] |
| 52 |
optional = true |
| 53 |
default-features = false |
| 54 |
|
| 55 |
[dev-dependencies] |
| 56 |
|
| 57 |
[lints.rust] |
| 58 |
missing_debug_implementations = "warn" |
| 59 |
rust_2018_idioms = "warn" |
| 60 |
single_use_lifetimes = "warn" |
| 61 |
unreachable_pub = "warn" |
| 62 |
|
| 63 |
[lints.rust.unexpected_cfgs] |
| 64 |
level = "warn" |
| 65 |
priority = 0 |
| 66 |
check-cfg = ["cfg(futures_sanitizer)"] |