# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.60" name = "async-lock" version = "3.4.1" authors = ["Stjepan Glavina "] build = false exclude = ["/.*"] autolib = false autobins = false autoexamples = false autotests = false autobenches = false description = "Async synchronization primitives" readme = "README.md" keywords = [ "lock", "mutex", "rwlock", "semaphore", "barrier", ] categories = [ "asynchronous", "concurrency", ] license = "Apache-2.0 OR MIT" repository = "https://github.com/smol-rs/async-lock" [features] default = ["std"] loom = [ "event-listener/loom", "dep:loom", ] std = [ "event-listener/std", "event-listener-strategy/std", ] [lib] name = "async_lock" path = "src/lib.rs" [[test]] name = "barrier" path = "tests/barrier.rs" [[test]] name = "loom" path = "tests/loom.rs" [[test]] name = "mutex" path = "tests/mutex.rs" [[test]] name = "rwlock" path = "tests/rwlock.rs" [[test]] name = "semaphore" path = "tests/semaphore.rs" [dependencies.event-listener] version = "5.0.0" default-features = false [dependencies.event-listener-strategy] version = "0.5.0" default-features = false [dependencies.pin-project-lite] version = "0.2.11" [dev-dependencies.fastrand] version = "2.0.0" [dev-dependencies.flume] version = "0.11.0" [dev-dependencies.futures-lite] version = "2.0.0" [dev-dependencies.waker-fn] version = "1.1.0" [target."cfg(loom)".dependencies.loom] version = "0.7" optional = true [target.'cfg(target_family = "wasm")'.dev-dependencies.wasm-bindgen-test] version = "0.3" [lints.rust.unexpected_cfgs] level = "warn" priority = 0 check-cfg = ["cfg(loom)"]