@@ -6,46 +6,38 @@ homepage = "https://github.com/al8n/wg"
66repository = " https://github.com/al8n/wg.git"
77documentation = " https://docs.rs/wg/"
88readme = " README.md"
9- version = " 0.8.3 "
9+ version = " 0.9.0 "
1010license = " MIT OR Apache-2.0"
1111keywords = [" waitgroup" , " async" , " sync" , " notify" , " wake" ]
12- categories = [" asynchronous" , " concurrency" , " data-structures" ]
12+ categories = [" asynchronous" , " concurrency" , " data-structures" , " no-std " ]
1313edition = " 2021"
1414
1515[features ]
1616default = [" std" , " parking_lot" , " triomphe" ]
17- std = [" triomphe?/default" , " event-listener?/default" , " futures-core?/default" , " tokio?/rt" ]
17+ alloc = [" event-listener" ]
18+ std = [" triomphe?/default" , " event-listener?/default" , " futures-core?/default" ]
1819triomphe = [" dep:triomphe" ]
1920parking_lot = [" dep:parking_lot" ]
20-
21- future = [" event-listener" , " pin-project-lite" , " agnostic-lite" ]
22- tokio = [" dep:tokio" , " futures-core" , " pin-project-lite" , " agnostic-lite/tokio" ]
23- smol = [" agnostic-lite/smol" , " future" ]
24- async-std = [" agnostic-lite/async-std" , " future" ]
21+ future = [" event-listener" , " pin-project-lite" ]
2522
2623[dependencies ]
2724parking_lot = { version = " 0.12" , optional = true }
2825triomphe = { version = " 0.1" , optional = true , default-features = false }
29- event-listener = { version = " 5" , optional = true , default-features = false }
30- pin-project-lite = { version = " 0.2" , optional = true }
26+ event-listener = { version = " 5" , optional = true , default-features = false , features = [" portable-atomic" ] }
3127
32- tokio = { version = " 1 " , optional = true , default-features = false , features = [ " sync " ] }
28+ pin-project-lite = { version = " 0.2 " , optional = true }
3329futures-core = { version = " 0.3" , default-features = false , optional = true }
34- agnostic-lite = { version = " 0.3" , optional = true }
3530
3631[dev-dependencies ]
32+ agnostic-lite = { version = " 0.3" , features = [" smol" , " async-std" , " tokio" , " time" ] }
3733tokio = { version = " 1" , features = [" full" ] }
3834async-std = { version = " 1" , features = [" attributes" ] }
35+ smol = " 2"
3936
4037[package .metadata .docs .rs ]
4138all-features = true
4239rustdoc-args = [" --cfg" , " docsrs" ]
4340
44- [[test ]]
45- name = " tokio"
46- path = " tests/tokio.rs"
47- required-features = [" tokio" ]
48-
4941[[test ]]
5042name = " future"
5143path = " tests/future.rs"
0 commit comments