File: Cargo.toml

package info (click to toggle)
rust-event-listener 5.4.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 352 kB
  • sloc: makefile: 2; sh: 1
file content (37 lines) | stat: -rw-r--r-- 1,131 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
[package]
name = "event-listener"
# When publishing a new version:
# - Update CHANGELOG.md
# - Create "v5.x.y" git tag
version = "5.4.0"
authors = ["Stjepan Glavina <stjepang@gmail.com>", "John Nunley <dev@notgull.net>"]
edition = "2021"
rust-version = "1.60"
description = "Notify async tasks or threads"
license = "Apache-2.0 OR MIT"
repository = "https://github.com/smol-rs/event-listener"
keywords = ["condvar", "eventcount", "wake", "blocking", "park"]
categories = ["asynchronous", "concurrency"]
exclude = ["/.*"]
autobenches = false

[features]
default = ["std"]
std = ["concurrent-queue/std", "parking"]

[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(loom)'] }

[dependencies]
concurrent-queue = { version = "2.4.0", default-features = false }
critical-section = { version = "1.2.0", default-features = false, optional = true }
pin-project-lite = "0.2.12"

[target.'cfg(not(target_family = "wasm"))'.dependencies]
parking = { version = "2.0.0", optional = true }

[dev-dependencies]
critical-section = { version = "1.2.0", features = ["std"] }
futures-lite = "2.0.0"
try-lock = "0.2.5"
waker-fn = "1"