File: Cargo.toml

package info (click to toggle)
rust-async-std 1.13.2-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,992 kB
  • sloc: sh: 13; makefile: 8
file content (97 lines) | stat: -rw-r--r-- 2,623 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
[package]
name = "async-std"
version = "1.13.2"
authors = [
  "Stjepan Glavina <stjepang@gmail.com>",
  "Yoshua Wuyts <yoshuawuyts@gmail.com>",
  "Friedel Ziegelmayer <me@dignifiedquire.com>",
  "Contributors to async-std",
]
edition = "2018"
rust-version = "1.63"
license = "Apache-2.0 OR MIT"
repository = "https://github.com/async-rs/async-std"
homepage = "https://async.rs"
description = "Deprecated in favor of `smol` - Async version of the Rust standard library"
keywords = ["async", "await", "future", "std", "task"]
categories = ["asynchronous", "concurrency", "network-programming"]

[package.metadata.docs.rs]
features = ["docs"]
rustdoc-args = ["--cfg", "feature=\"docs\""]

[features]
default = [
  "std",
  "async-global-executor",
  "async-io",
  "futures-lite",
  "kv-log-macro",
  "log",
  "pin-project-lite",
]
docs = ["attributes", "unstable", "default"]
unstable = [
  "std",
  "async-io",
  "async-process",
]
attributes = ["async-attributes"]
std = [
  "alloc",
  "crossbeam-utils",
  "futures-core/std",
  "futures-io",
  "memchr",
  "once_cell",
  "pin-utils",
  "slab",
  "async-channel",
  "async-lock",
]
alloc = [
  "futures-core/alloc",
  "pin-project-lite",
]
tokio1 = ["async-global-executor/tokio"]
io_safety = []

[dependencies]
async-attributes = { version = "1.1.2", optional = true }
async-lock = { version = "3.1.0", optional = true }
crossbeam-utils = { version = "0.8.0", 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.6", optional = true }
log = { version = "0.4.8", features = ["kv_unstable"], optional = true }
memchr = { version = "2.3.3", optional = true }
once_cell = { version = "1.3.1", optional = true }
pin-project-lite = { version = "0.2.0", optional = true }
pin-utils = { version = "0.1.0-alpha.4", optional = true }
slab = { version = "0.4.2", optional = true }
async-channel = { version = ">= 1.8.0, <= 2", optional = true }

[target.'cfg(not(target_os = "unknown"))'.dependencies]
async-global-executor = { version = "2.4.0", optional = true, features = ["async-io"] }
async-io = { version = "2.2.0", optional = true }
futures-lite = { version = "2.0.0", optional = true }
async-process = { version = "2.0.0", optional = true }

[dev-dependencies]
femme = "2.1.1"
rand = "0.8.0"
tempfile = "3.1.0"
futures = "0.3.4"
rand_xorshift = "0.3.0"

[[test]]
name = "stream"
required-features = ["unstable"]

[[example]]
name = "tcp-ipv4-and-6-echo"
required-features = ["unstable"]

[[example]]
name = "surf-web"
required-features = ["surf"]