1 | [package] |
2 | name = "atomic-waker" |
3 | # When publishing a new version: |
4 | # - Update CHANGELOG.md |
5 | # - Create "v1.x.y" git tag |
6 | version = "1.1.2" |
7 | authors = [ |
8 | "Stjepan Glavina <stjepang@gmail.com>" , |
9 | "Contributors to futures-rs" , |
10 | ] |
11 | edition = "2018" |
12 | rust-version = "1.36" |
13 | description = "A synchronization primitive for task wakeup" |
14 | license = "Apache-2.0 OR MIT" |
15 | repository = "https://github.com/smol-rs/atomic-waker" |
16 | keywords = ["waker" , "notify" , "wake" , "futures" , "async" ] |
17 | categories = ["asynchronous" , "concurrency" ] |
18 | exclude = ["/.*" ] |
19 | |
20 | [dependencies] |
21 | # Uses portable-atomic polyfill atomics on targets without them |
22 | portable-atomic = { version = "1" , optional = true, default-features = false } |
23 | |
24 | [dev-dependencies] |
25 | criterion = { version = "0.4.0" , default-features = false, features = ["cargo_bench_support" ] } |
26 | futures = "0.3.5" |
27 | rayon = "1.7.0" |
28 | |
29 | [[bench]] |
30 | name = "waker" |
31 | harness = false |
32 | |