Debian Codegraph @

Cargo.toml

raw symbols ◀ ▶
Source reconstructed at patch state 0 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
17 [features]
18 default = ["std"]
19 std = ["parking"]
20 portable-atomic = [
21 "portable-atomic-util",
22 "portable_atomic_crate",
23 ]
24 loom = ["parking?/loom", "dep:loom"]
25
26 [lints.rust]
27 unexpected_cfgs = { level = "warn", check-cfg = ['cfg(loom)'] }
28
29 [dependencies]
30 critical-section = { version = "1.2.0", default-features = false, optional = true }
31 pin-project-lite = "0.2.12"
32 portable-atomic-util = { version = "0.2.0", default-features = false, optional = true, features = ["alloc"] }
33
34 [target.'cfg(not(target_family = "wasm"))'.dependencies]
35 parking = { version = "2.0.0", optional = true }
36
37 [target.'cfg(loom)'.dependencies]
38 loom = { version = "0.7", optional = true }
39
40 [dependencies.portable_atomic_crate]
41 package = "portable-atomic"
42 version = "1.2.0"
43 default-features = false
44 optional = true
45
46 [dev-dependencies]
47 critical-section = { version = "1.2.0", features = ["std"] }
48 futures-lite = "2.0.0"
49 try-lock = "0.2.5"
50 waker-fn = "1"
51
52 [dev-dependencies.criterion]
53 version = "0.8"
54 default-features = false
55 features = ["cargo_bench_support"]
56
57 [target.'cfg(target_family = "wasm")'.dev-dependencies]
58 wasm-bindgen-test = "0.3"
59
60 [[bench]]
61 name = "bench"
62 harness = false
63
64 [lib]
65 bench = false