1
1
[package ]
2
2
name = " async-std"
3
- version = " 1.5.0 "
3
+ version = " 1.6.0-beta.1 "
4
4
authors = [
5
5
" Stjepan Glavina <[email protected] >" ,
6
6
" Yoshua Wuyts <[email protected] >" ,
7
+ " Friedel Ziegelmayer <[email protected] >" ,
7
8
" Contributors to async-std" ,
8
9
]
9
10
edition = " 2018"
@@ -24,18 +25,13 @@ rustdoc-args = ["--cfg", "feature=\"docs\""]
24
25
default = [
25
26
" std" ,
26
27
" async-task" ,
27
- " crossbeam-channel" ,
28
- " crossbeam-deque" ,
29
- " futures-timer" ,
30
28
" kv-log-macro" ,
31
29
" log" ,
32
- " mio" ,
33
- " mio-uds" ,
34
30
" num_cpus" ,
35
31
" pin-project-lite" ,
36
32
]
37
33
docs = [" attributes" , " unstable" , " default" ]
38
- unstable = [" std" , " broadcaster " , " futures-timer " ]
34
+ unstable = [" std" ]
39
35
attributes = [" async-attributes" ]
40
36
std = [
41
37
" alloc" ,
@@ -46,6 +42,10 @@ std = [
46
42
" once_cell" ,
47
43
" pin-utils" ,
48
44
" slab" ,
45
+ " smol" ,
46
+ " futures-timer" ,
47
+ " wasm-bindgen-futures" ,
48
+ " futures-channel" ,
49
49
]
50
50
alloc = [
51
51
" futures-core/alloc" ,
@@ -54,31 +54,39 @@ alloc = [
54
54
55
55
[dependencies ]
56
56
async-attributes = { version = " 1.1.1" , optional = true }
57
- async-task = { version = " 1.2.1" , optional = true }
58
- broadcaster = { version = " 1.0.0" , optional = true }
59
- crossbeam-channel = { version = " 0.4.0" , optional = true }
60
- crossbeam-deque = { version = " 0.7.2" , optional = true }
61
- crossbeam-utils = { version = " 0.7.0" , optional = true }
62
- futures-core = { version = " 0.3.1" , optional = true , default-features = false }
63
- futures-io = { version = " 0.3.1" , optional = true }
64
- futures-timer = { version = " 2.0.2" , optional = true }
57
+ async-task = { version = " 3.0.0" , optional = true }
58
+ crossbeam-utils = { version = " 0.7.2" , optional = true }
59
+ futures-core = { version = " 0.3.4" , optional = true , default-features = false }
60
+ futures-io = { version = " 0.3.4" , optional = true }
65
61
kv-log-macro = { version = " 1.0.4" , optional = true }
66
62
log = { version = " 0.4.8" , features = [" kv_unstable" ], optional = true }
67
- memchr = { version = " 2.3.0" , optional = true }
68
- mio = { version = " 0.6.19" , optional = true }
69
- mio-uds = { version = " 0.6.7" , optional = true }
70
- num_cpus = { version = " 1.11.1" , optional = true }
71
- once_cell = { version = " 1.2.0" , optional = true }
72
- pin-project-lite = { version = " 0.1.2" , optional = true }
63
+ memchr = { version = " 2.3.3" , optional = true }
64
+ num_cpus = { version = " 1.12.0" , optional = true }
65
+ once_cell = { version = " 1.3.1" , optional = true }
66
+ pin-project-lite = { version = " 0.1.4" , optional = true }
73
67
pin-utils = { version = " 0.1.0-alpha.4" , optional = true }
74
68
slab = { version = " 0.4.2" , optional = true }
75
69
70
+ # Devdepencency, but they are not allowed to be optional :/
71
+ surf = { version = " 1.0.3" , optional = true }
72
+
73
+ [target .'cfg(not(target_os = "unknown"))' .dependencies ]
74
+ smol = { version = " 0.1.1" , optional = true }
75
+
76
+ [target .'cfg(target_arch = "wasm32")' .dependencies ]
77
+ futures-timer = { version = " 3.0.2" , optional = true , features = [" wasm-bindgen" ] }
78
+ wasm-bindgen-futures = { version = " 0.4.10" , optional = true }
79
+ futures-channel = { version = " 0.3.4" , optional = true }
80
+
81
+ [target .'cfg(target_arch = "wasm32")' .dev-dependencies ]
82
+ wasm-bindgen-test = " 0.3.10"
83
+
76
84
[dev-dependencies ]
77
85
femme = " 1.3.0"
78
86
rand = " 0.7.3"
79
- surf = " 1.0.3"
80
87
tempdir = " 0.3.7"
81
- futures = " 0.3.1"
88
+ futures = " 0.3.4"
89
+ rand_xorshift = " 0.2.0"
82
90
83
91
[[test ]]
84
92
name = " stream"
@@ -87,3 +95,7 @@ required-features = ["unstable"]
87
95
[[example ]]
88
96
name = " tcp-ipv4-and-6-echo"
89
97
required-features = [" unstable" ]
98
+
99
+ [[example ]]
100
+ name = " surf-web"
101
+ required-features = [" surf" ]
0 commit comments