[[bench]]
name = "mutex"
path = "benches/mutex.rs"
[[bench]]
name = "task"
path = "benches/task.rs"
[[bench]]
name = "task_local"
path = "benches/task_local.rs"
[dependencies.async-attributes]
optional = true
version = "1.1.2"
[dependencies.async-channel]
optional = true
version = "1.8.0"
[dependencies.async-lock]
optional = true
version = "3.1.0"
[dependencies.crossbeam-utils]
optional = true
version = "0.8.0"
[dependencies.futures-core]
default-features = false
optional = true
version = "0.3.4"
[dependencies.futures-io]
optional = true
version = "0.3.4"
[dependencies.kv-log-macro]
optional = true
version = "1.0.6"
[dependencies.log]
features = ["kv_unstable"]
optional = true
version = "0.4.8"
[dependencies.memchr]
optional = true
version = "2.3.3"
[dependencies.once_cell]
optional = true
version = "1.3.1"
[dependencies.pin-project-lite]
optional = true
version = "0.2.0"
[dependencies.pin-utils]
optional = true
version = "0.1.0-alpha.4"
[dependencies.slab]
optional = true
version = "0.4.2"
[dependencies.surf]
optional = true
version = "2.0.0"
[dev-dependencies.femme]
version = "2.1.1"
[dev-dependencies.futures]
version = "0.3.4"
[dev-dependencies.rand]
version = "0.8.0"
[dev-dependencies.rand_xorshift]
version = "0.3.0"
[dev-dependencies.tempfile]
version = "3.1.0"
[[example]]
name = "a-chat"
path = "examples/a-chat/main.rs"
[[example]]
name = "hello-world"
path = "examples/hello-world.rs"
[[example]]
name = "line-count"
path = "examples/line-count.rs"
[[example]]
name = "list-dir"
path = "examples/list-dir.rs"
[[example]]
name = "logging"
path = "examples/logging.rs"
[[example]]
name = "print-file"
path = "examples/print-file.rs"
[[example]]
name = "socket-timeouts"
path = "examples/socket-timeouts.rs"
[[example]]
name = "stdin-echo"
path = "examples/stdin-echo.rs"
[[example]]
name = "stdin-timeout"
path = "examples/stdin-timeout.rs"
[[example]]
name = "surf-web"
path = "examples/surf-web.rs"
required-features = ["surf"]
[[example]]
name = "task-local"
path = "examples/task-local.rs"
[[example]]
name = "task-name"
path = "examples/task-name.rs"
[[example]]
name = "tcp-client"
path = "examples/tcp-client.rs"
[[example]]
name = "tcp-echo"
path = "examples/tcp-echo.rs"
[[example]]
name = "tcp-ipv4-and-6-echo"
path = "examples/tcp-ipv4-and-6-echo.rs"
required-features = ["unstable"]
[[example]]
name = "udp-client"
path = "examples/udp-client.rs"
[[example]]
name = "udp-echo"
path = "examples/udp-echo.rs"
[features]
alloc = ["futures-core/alloc", "pin-project-lite"]
attributes = ["async-attributes"]
default = ["std", "async-global-executor", "async-io", "futures-lite", "kv-log-macro", "log", "pin-project-lite", "gloo-timers"]
docs = ["attributes", "unstable", "default"]
io_safety = []
std = ["alloc", "crossbeam-utils", "futures-core/std", "futures-io", "memchr", "once_cell", "pin-utils", "slab", "wasm-bindgen-futures", "futures-channel", "async-channel", "async-lock"]
tokio02 = ["async-global-executor/tokio02"]
tokio03 = ["async-global-executor/tokio03"]
tokio1 = ["async-global-executor/tokio"]
unstable = ["std", "async-io", "async-process"]
[lib]
name = "async_std"
path = "src/lib.rs"
[package]
authors = ["Stjepan Glavina <stjepang@gmail.com>", "Yoshua Wuyts <yoshuawuyts@gmail.com>", "Friedel Ziegelmayer <me@dignifiedquire.com>", "Contributors to async-std"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = false
categories = ["asynchronous", "concurrency", "network-programming"]
description = "Async version of the Rust standard library"
edition = "2018"
homepage = "https://async.rs"
keywords = ["async", "await", "future", "std", "task"]
license = "Apache-2.0 OR MIT"
name = "async-std"
readme = "README.md"
repository = "https://github.com/async-rs/async-std"
version = "1.13.0"
[package.metadata.docs.rs]
features = ["docs"]
rustdoc-args = ["--cfg", 'feature="docs"']
[target.'cfg(not(target_os = "unknown"))'.dependencies.async-global-executor]
features = ["async-io"]
optional = true
version = "2.4.0"
[target.'cfg(not(target_os = "unknown"))'.dependencies.async-io]
optional = true
version = "2.2.0"
[target.'cfg(not(target_os = "unknown"))'.dependencies.async-process]
optional = true
version = "2.0.0"
[target.'cfg(not(target_os = "unknown"))'.dependencies.futures-lite]
optional = true
version = "2.0.0"
[target.'cfg(target_arch = "wasm32")'.dependencies.futures-channel]
optional = true
version = "0.3.4"
[target.'cfg(target_arch = "wasm32")'.dependencies.gloo-timers]
features = ["futures"]
optional = true
version = "0.3.0"
[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen-futures]
optional = true
version = "0.4.10"
[target.'cfg(target_arch = "wasm32")'.dev-dependencies.getrandom]
features = ["js"]
version = "0.2.0"
[target.'cfg(target_arch = "wasm32")'.dev-dependencies.wasm-bindgen-test]
version = "0.3.10"
[[test]]
name = "addr"
path = "tests/addr.rs"
[[test]]
name = "block_on"
path = "tests/block_on.rs"
[[test]]
name = "buf_writer"
path = "tests/buf_writer.rs"
[[test]]
name = "channel"
path = "tests/channel.rs"
[[test]]
name = "collect"
path = "tests/collect.rs"
[[test]]
name = "condvar"
path = "tests/condvar.rs"
[[test]]
name = "io_copy"
path = "tests/io_copy.rs"
[[test]]
name = "io_timeout"
path = "tests/io_timeout.rs"
[[test]]
name = "mutex"
path = "tests/mutex.rs"
[[test]]
name = "rwlock"
path = "tests/rwlock.rs"
[[test]]
name = "stream"
path = "tests/stream.rs"
required-features = ["unstable"]
[[test]]
name = "task_local"
path = "tests/task_local.rs"
[[test]]
name = "tcp"
path = "tests/tcp.rs"
[[test]]
name = "timeout"
path = "tests/timeout.rs"
[[test]]
name = "udp"
path = "tests/udp.rs"
[[test]]
name = "uds"
path = "tests/uds.rs"
[[test]]
name = "verbose_errors"
path = "tests/verbose_errors.rs"