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