Debian Codegraph @

Cargo.toml

raw symbols ◀ ▶
Source reconstructed at patch state 1 of 3 — not the installed (fully patched) source.
3 Debian patches touch this file
1 [package]
2 name = "event-listener"
3 # When publishing a new version:
4 # - Update CHANGELOG.md
5 # - Create "v5.x.y" git tag
6 version = "5.4.2"
7 authors = ["Stjepan Glavina <[email protected]>", "John Nunley <[email protected]>"]
8 edition = "2021"
9 rust-version = "1.60"
10 description = "Notify async tasks or threads"
11 license = "Apache-2.0 OR MIT"
12 repository = "https://github.com/smol-rs/event-listener"
13 keywords = ["condvar", "eventcount", "wake", "blocking", "park"]
14 categories = ["asynchronous", "concurrency"]
15 exclude = ["/.*"]
16 autobenches = false
17
18 [features]
19 default = ["std"]
20 std = ["parking"]
21 portable-atomic = [
22 "portable-atomic-util",
23 "portable_atomic_crate",
24 ]
25 loom = ["parking?/loom", "dep:loom"]
26
27 [lints.rust]
28 unexpected_cfgs = { level = "warn", check-cfg = ['cfg(loom)'] }
29
30 [dependencies]
31 critical-section = { version = "1.2.0", default-features = false, optional = true }
32 pin-project-lite = "0.2.12"
33 portable-atomic-util = { version = "0.2.0", default-features = false, optional = true, features = ["alloc"] }
34
35 [target.'cfg(not(target_family = "wasm"))'.dependencies]
36 parking = { version = "2.0.0", optional = true }
37
38 [target.'cfg(loom)'.dependencies]
39 loom = { version = "0.7", optional = true }
40
41 [dependencies.portable_atomic_crate]
42 package = "portable-atomic"
43 version = "1.2.0"
44 default-features = false
45 optional = true
46
47 [dev-dependencies]
48 critical-section = { version = "1.2.0", features = ["std"] }
49 futures-lite = "2.0.0"
50 try-lock = "0.2.5"
51 waker-fn = "1"
52
53 [target.'cfg(target_family = "wasm")'.dev-dependencies]
54 wasm-bindgen-test = "0.3"