1 | [package] |
2 | name = "async-lock" |
3 | # When publishing a new version: |
4 | # - Update CHANGELOG.md |
5 | # - Create "v3.x.y" git tag |
6 | version = "3.3.0" |
7 | authors = ["Stjepan Glavina <stjepang@gmail.com>" ] |
8 | edition = "2021" |
9 | rust-version = "1.60" |
10 | description = "Async synchronization primitives" |
11 | license = "Apache-2.0 OR MIT" |
12 | repository = "https://github.com/smol-rs/async-lock" |
13 | keywords = ["lock" , "mutex" , "rwlock" , "semaphore" , "barrier" ] |
14 | categories = ["asynchronous" , "concurrency" ] |
15 | exclude = ["/.*" ] |
16 | |
17 | [dependencies] |
18 | event-listener = { version = "4.0.0" , default-features = false } |
19 | event-listener-strategy = { version = "0.4.0" , default-features = false } |
20 | pin-project-lite = "0.2.11" |
21 | |
22 | [features] |
23 | default = ["std" ] |
24 | std = ["event-listener/std" , "event-listener-strategy/std" ] |
25 | |
26 | [dev-dependencies] |
27 | async-channel = "2.0.0" |
28 | fastrand = "2.0.0" |
29 | futures-lite = "2.0.0" |
30 | waker-fn = "1.1.0" |
31 | |
32 | [target.'cfg(target_family = "wasm")'.dev-dependencies] |
33 | wasm-bindgen-test = "0.3" |
34 | |