1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
Description: avoid outdated-in-Debian crate loom
Author: Jonas Smedegaard <dr@jones.dk>
Bug-Debian: https://bugs.debian.org/1072909
Forwarded: not-needed
Last-Update: 2024-06-10
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -19,13 +19,9 @@
event-listener-strategy = { version = "0.5.0", default-features = false }
pin-project-lite = "0.2.11"
-[target.'cfg(loom)'.dependencies]
-loom = { version = "0.7", optional = true }
-
[features]
default = ["std"]
std = ["event-listener/std", "event-listener-strategy/std"]
-loom = ["event-listener/loom", "dep:loom"]
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(loom)'] }
|