# 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 = "event-listener" version = "5.3.1" authors = [ "Stjepan Glavina ", "John Nunley ", ] exclude = ["/.*"] description = "Notify async tasks or threads" readme = "README.md" keywords = [ "condvar", "eventcount", "wake", "blocking", "park", ] categories = [ "asynchronous", "concurrency", ] license = "Apache-2.0 OR MIT" repository = "https://github.com/smol-rs/event-listener" [lib] bench = false [[bench]] name = "bench" harness = false [dependencies.concurrent-queue] version = "2.4.0" default-features = false [dependencies.pin-project-lite] version = "0.2.12" [dependencies.portable-atomic-util] version = "0.2.0" features = ["alloc"] optional = true default-features = false [dependencies.portable_atomic_crate] version = "1.2.0" optional = true default-features = false package = "portable-atomic" [dev-dependencies.criterion] version = "0.5" features = ["cargo_bench_support"] default-features = false [dev-dependencies.futures-lite] version = "2.0.0" [dev-dependencies.try-lock] version = "0.2.5" [dev-dependencies.waker-fn] version = "1" [features] default = ["std"] loom = [ "concurrent-queue/loom", "parking?/loom", "dep:loom", ] portable-atomic = [ "portable-atomic-util", "portable_atomic_crate", "concurrent-queue/portable-atomic", ] std = [ "concurrent-queue/std", "parking", ] [target."cfg(loom)".dependencies.loom] version = "0.7" optional = true [target."cfg(not(target_family = \"wasm\"))".dependencies.parking] version = "2.0.0" optional = true [target."cfg(target_family = \"wasm\")".dev-dependencies.wasm-bindgen-test] version = "0.3" [lints.rust.unexpected_cfgs] level = "warn" priority = 0