forked from mirror/async-std
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
94 lines
2.6 KiB
TOML
94 lines
2.6 KiB
TOML
[package]
|
|
name = "async-std"
|
|
version = "1.0.0"
|
|
authors = [
|
|
"Stjepan Glavina <stjepang@gmail.com>",
|
|
"Yoshua Wuyts <yoshuawuyts@gmail.com>",
|
|
"Contributors to async-std",
|
|
]
|
|
edition = "2018"
|
|
license = "Apache-2.0/MIT"
|
|
repository = "https://github.com/async-rs/async-std"
|
|
homepage = "https://async.rs"
|
|
documentation = "https://docs.rs/async-std"
|
|
description = "Async version of the Rust standard library"
|
|
keywords = ["async", "await", "future", "std", "task"]
|
|
categories = ["asynchronous", "concurrency", "network-programming"]
|
|
readme = "README.md"
|
|
|
|
[package.metadata.docs.rs]
|
|
features = ["docs"]
|
|
rustdoc-args = ["--cfg", "feature=\"docs\""]
|
|
|
|
[features]
|
|
default = [
|
|
"std",
|
|
"async-task",
|
|
"crossbeam-channel",
|
|
"crossbeam-deque",
|
|
"futures-timer",
|
|
"kv-log-macro",
|
|
"log",
|
|
"mio",
|
|
"mio-uds",
|
|
"num_cpus",
|
|
"pin-project-lite",
|
|
"serde-support",
|
|
]
|
|
docs = ["attributes", "unstable"]
|
|
unstable = ["default", "broadcaster"]
|
|
attributes = ["async-attributes"]
|
|
serde-support = [
|
|
"default",
|
|
"serde",
|
|
]
|
|
std = [
|
|
"async-macros",
|
|
"crossbeam-utils",
|
|
"futures-core",
|
|
"futures-io",
|
|
"memchr",
|
|
"once_cell",
|
|
"pin-project-lite",
|
|
"pin-utils",
|
|
"slab",
|
|
]
|
|
|
|
[dependencies]
|
|
async-attributes = { version = "1.1.0", optional = true }
|
|
async-macros = { version = "1.0.0", optional = true }
|
|
async-task = { version = "1.0.0", optional = true }
|
|
broadcaster = { version = "0.2.6", optional = true, default-features = false, features = ["default-channels"] }
|
|
crossbeam-channel = { version = "0.3.9", optional = true }
|
|
crossbeam-deque = { version = "0.7.1", optional = true }
|
|
crossbeam-utils = { version = "0.6.6", optional = true }
|
|
futures-core = { version = "0.3.0", optional = true }
|
|
futures-io = { version = "0.3.0", optional = true }
|
|
futures-timer = { version = "1.0.2", optional = true }
|
|
kv-log-macro = { version = "1.0.4", optional = true }
|
|
log = { version = "0.4.8", features = ["kv_unstable"], optional = true }
|
|
memchr = { version = "2.2.1", optional = true }
|
|
mio = { version = "0.6.19", optional = true }
|
|
mio-uds = { version = "0.6.7", optional = true }
|
|
num_cpus = { version = "1.10.1", optional = true }
|
|
once_cell = { version = "1.2.0", optional = true }
|
|
pin-project-lite = { version = "0.1", optional = true }
|
|
pin-utils = { version = "0.1.0-alpha.4", optional = true }
|
|
slab = { version = "0.4.2", optional = true }
|
|
serde = { version = "1.0.0", optional = true, default-features = false, features = ["derive"] }
|
|
|
|
[dev-dependencies]
|
|
femme = "1.2.0"
|
|
rand = "0.7.2"
|
|
# surf = "1.0.2"
|
|
tempdir = "0.3.7"
|
|
futures = "0.3.0"
|
|
|
|
[[test]]
|
|
name = "stream"
|
|
required-features = ["unstable"]
|
|
|
|
[[example]]
|
|
name = "tcp-ipv4-and-6-echo"
|
|
required-features = ["unstable"]
|