blob: b97a0765aa883c9b97efdf36932db649ec41fccf [file] [log] [blame]
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies
#
# If you believe there's an error in this file please file an
# issue against the rust-lang/cargo repository. If you're
# editing this file be aware that the upstream Cargo.toml
# will likely look very different (and much more reasonable)
[package]
edition = "2018"
name = "async-std"
version = "1.6.0"
authors = ["Stjepan Glavina <stjepang@gmail.com>", "Yoshua Wuyts <yoshuawuyts@gmail.com>", "Friedel Ziegelmayer <me@dignifiedquire.com>", "Contributors to async-std"]
description = "Async version of the Rust standard library"
homepage = "https://async.rs"
documentation = "https://docs.rs/async-std"
readme = "README.md"
keywords = ["async", "await", "future", "std", "task"]
categories = ["asynchronous", "concurrency", "network-programming"]
license = "Apache-2.0/MIT"
repository = "https://github.com/async-rs/async-std"
[package.metadata.docs.rs]
features = ["docs"]
rustdoc-args = ["--cfg", "feature=\"docs\""]
[[example]]
name = "tcp-ipv4-and-6-echo"
required-features = ["unstable"]
[[example]]
name = "surf-web"
required-features = ["surf"]
[[test]]
name = "stream"
required-features = ["unstable"]
[dependencies.async-attributes]
version = "1.1.1"
optional = true
[dependencies.async-task]
version = "3.0.0"
optional = true
[dependencies.crossbeam-utils]
version = "0.7.2"
optional = true
[dependencies.futures-core]
version = "0.3.4"
optional = true
default-features = false
[dependencies.futures-io]
version = "0.3.4"
optional = true
[dependencies.kv-log-macro]
version = "1.0.4"
optional = true
[dependencies.log]
version = "0.4.8"
features = ["kv_unstable"]
optional = true
[dependencies.memchr]
version = "2.3.3"
optional = true
[dependencies.num_cpus]
version = "1.12.0"
optional = true
[dependencies.once_cell]
version = "1.3.1"
optional = true
[dependencies.pin-project-lite]
version = "0.1.4"
optional = true
[dependencies.pin-utils]
version = "0.1.0-alpha.4"
optional = true
[dependencies.slab]
version = "0.4.2"
optional = true
[dependencies.surf]
version = "1.0.3"
optional = true
[dev-dependencies.femme]
version = "1.3.0"
[dev-dependencies.futures]
version = "0.3.4"
[dev-dependencies.rand]
version = "0.7.3"
[dev-dependencies.rand_xorshift]
version = "0.2.0"
[dev-dependencies.tempdir]
version = "0.3.7"
[features]
alloc = ["futures-core/alloc", "pin-project-lite"]
attributes = ["async-attributes"]
default = ["std", "async-task", "kv-log-macro", "log", "num_cpus", "pin-project-lite"]
docs = ["attributes", "unstable", "default"]
std = ["alloc", "crossbeam-utils", "futures-core/std", "futures-io", "memchr", "once_cell", "pin-utils", "slab", "smol", "futures-timer", "wasm-bindgen-futures", "futures-channel"]
unstable = ["std"]
[target."cfg(not(target_os = \"unknown\"))".dependencies.smol]
version = "0.1.10"
optional = true
[target."cfg(target_arch = \"wasm32\")".dependencies.futures-channel]
version = "0.3.4"
optional = true
[target."cfg(target_arch = \"wasm32\")".dependencies.futures-timer]
version = "3.0.2"
features = ["wasm-bindgen"]
optional = true
[target."cfg(target_arch = \"wasm32\")".dependencies.wasm-bindgen-futures]
version = "0.4.10"
optional = true
[target."cfg(target_arch = \"wasm32\")".dev-dependencies.wasm-bindgen-test]
version = "0.3.10"