async-std/Cargo.toml

93 lines
2.4 KiB
TOML
Raw Normal View History

2019-08-08 12:44:48 +00:00
[package]
name = "async-std"
version = "1.5.0"
2019-08-16 14:54:39 +00:00
authors = [
"Stjepan Glavina <stjepang@gmail.com>",
"Yoshua Wuyts <yoshuawuyts@gmail.com>",
"Contributors to async-std",
2019-08-16 14:54:39 +00:00
]
2019-08-08 12:44:48 +00:00
edition = "2018"
license = "Apache-2.0/MIT"
2019-08-15 10:57:20 +00:00
repository = "https://github.com/async-rs/async-std"
2019-10-25 21:14:57 +00:00
homepage = "https://async.rs"
2019-08-08 12:44:48 +00:00
documentation = "https://docs.rs/async-std"
2019-08-12 18:29:32 +00:00
description = "Async version of the Rust standard library"
keywords = ["async", "await", "future", "std", "task"]
categories = ["asynchronous", "concurrency", "network-programming"]
readme = "README.md"
2019-08-08 12:44:48 +00:00
[package.metadata.docs.rs]
2019-08-12 17:50:30 +00:00
features = ["docs"]
2019-08-16 15:30:56 +00:00
rustdoc-args = ["--cfg", "feature=\"docs\""]
2019-08-08 12:44:48 +00:00
[features]
default = [
"std",
"async-task",
"kv-log-macro",
"log",
"num_cpus",
"pin-project-lite",
2020-04-24 14:16:41 +00:00
"smol",
]
docs = ["attributes", "unstable", "default"]
2020-04-25 15:07:10 +00:00
unstable = ["std", "broadcaster"]
attributes = ["async-attributes"]
std = [
"alloc",
"crossbeam-utils",
"futures-core/std",
"futures-io",
"memchr",
"once_cell",
"pin-utils",
"slab",
]
alloc = [
"futures-core/alloc",
2020-01-16 12:01:47 +00:00
"pin-project-lite",
2020-01-16 02:18:09 +00:00
]
2019-08-08 12:44:48 +00:00
[dependencies]
async-attributes = { version = "1.1.1", optional = true }
2020-04-24 20:53:39 +00:00
async-task = { version = "3.0.0", optional = true }
2020-01-16 18:07:11 +00:00
broadcaster = { version = "1.0.0", optional = true }
2020-03-08 11:46:26 +00:00
crossbeam-utils = { version = "0.7.2", optional = true }
futures-core = { version = "0.3.4", optional = true, default-features = false }
futures-io = { version = "0.3.4", optional = true }
kv-log-macro = { version = "1.0.4", optional = true }
log = { version = "0.4.8", features = ["kv_unstable"], optional = true }
2020-03-08 11:46:26 +00:00
memchr = { version = "2.3.3", optional = true }
num_cpus = { version = "1.12.0", optional = true }
once_cell = { version = "1.3.1", optional = true }
pin-project-lite = { version = "0.1.4", optional = true }
pin-utils = { version = "0.1.0-alpha.4", optional = true }
slab = { version = "0.4.2", optional = true }
2020-04-26 16:00:00 +00:00
[target.'cfg(not(target_os = "unknown"))'.dependencies]
2020-04-24 14:16:41 +00:00
smol = { path = "../smol", optional = true }
2019-08-08 12:44:48 +00:00
2020-04-26 16:00:00 +00:00
[target.'cfg(target_arch = "wasm32")'.dependencies]
wasm-timer = "0.2.4"
wasm-bindgen-futures = "0.4.10"
futures-channel = "0.3.4"
[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
wasm-bindgen-test = "0.3.10"
2019-08-08 12:44:48 +00:00
[dev-dependencies]
femme = "1.3.0"
2020-01-14 14:26:22 +00:00
rand = "0.7.3"
surf = "1.0.3"
tempdir = "0.3.7"
2020-03-08 11:46:26 +00:00
futures = "0.3.4"
2020-04-26 16:00:00 +00:00
rand_xorshift = "0.2.0"
[[test]]
name = "stream"
required-features = ["unstable"]
[[example]]
name = "tcp-ipv4-and-6-echo"
required-features = ["unstable"]