@@ -21,32 +21,54 @@ features = ["docs"]
21
21
rustdoc-args = [" --cfg" , " feature=\" docs\" " ]
22
22
23
23
[features ]
24
- default = []
25
- docs = [" unstable" , " attributes" ]
26
- unstable = [" broadcaster" ]
27
- attributes = [" async-attributes" ]
24
+ default = [
25
+ " std" ,
26
+ " async-task" ,
27
+ " crossbeam-channel" ,
28
+ " crossbeam-deque" ,
29
+ " futures-timer" ,
30
+ " kv-log-macro" ,
31
+ " log" ,
32
+ " mio" ,
33
+ " mio-uds" ,
34
+ " num_cpus" ,
35
+ " pin-project-lite" ,
36
+ ]
37
+ docs = [" unstable" ]
38
+ unstable = [" default" , " broadcaster" ]
39
+ std = [
40
+ " async-macros" ,
41
+ " crossbeam-utils" ,
42
+ " futures-core" ,
43
+ " futures-io" ,
44
+ " memchr" ,
45
+ " once_cell" ,
46
+ " pin-project-lite" ,
47
+ " pin-utils" ,
48
+ " slab" ,
49
+ ]
28
50
29
51
[dependencies ]
30
52
async-attributes = { version = " 1.1.0" , optional = true }
31
- async-macros = " 1.0.0"
32
- async-task = " 1.0.0"
53
+ async-macros = { version = " 1.0.0" , optional = true }
54
+ async-task = { version = " 1.0.0" , optional = true }
33
55
broadcaster = { version = " 0.2.6" , optional = true , default-features = false , features = [" default-channels" ] }
34
- crossbeam-channel = " 0.3.9"
35
- crossbeam-deque = " 0.7.1"
36
- crossbeam-utils = " 0.6.6"
37
- futures-core = " 0.3.0"
38
- futures-io = " 0.3.0"
39
- futures-timer = " 1.0.2"
40
- kv-log-macro = " 1.0.4"
41
- log = { version = " 0.4.8" , features = [" kv_unstable" ] }
42
- memchr = " 2.2.1"
43
- mio = " 0.6.19"
44
- mio-uds = " 0.6.7"
45
- num_cpus = " 1.10.1"
46
- once_cell = " 1.2.0"
47
- pin-project-lite = " 0.1"
48
- pin-utils = " 0.1.0-alpha.4"
49
- slab = " 0.4.2"
56
+ crossbeam-channel = { version = " 0.3.9" , optional = true }
57
+ crossbeam-deque = { version = " 0.7.1" , optional = true }
58
+ crossbeam-utils = { version = " 0.6.6" , optional = true }
59
+ futures-core = { version = " 0.3.0" , optional = true }
60
+ futures-io = { version = " 0.3.0" , optional = true }
61
+ futures-timer = { version = " 1.0.2" , optional = true }
62
+ kv-log-macro = { version = " 1.0.4" , optional = true }
63
+ log = { version = " 0.4.8" , features = [" kv_unstable" ], optional = true }
64
+ memchr = { version = " 2.2.1" , optional = true }
65
+ mio = { version = " 0.6.19" , optional = true }
66
+ mio-uds = { version = " 0.6.7" , optional = true }
67
+ num_cpus = { version = " 1.10.1" , optional = true }
68
+ once_cell = { version = " 1.2.0" , optional = true }
69
+ pin-project-lite = { version = " 0.1" , optional = true }
70
+ pin-utils = { version = " 0.1.0-alpha.4" , optional = true }
71
+ slab = { version = " 0.4.2" , optional = true }
50
72
51
73
[dev-dependencies ]
52
74
femme = " 1.2.0"
0 commit comments