2022-05-26 10:49:13 -04:00
|
|
|
[package]
|
|
|
|
name = "drop-guard"
|
|
|
|
version = "0.1.0"
|
|
|
|
edition = "2021"
|
|
|
|
license = "MIT OR Apache-2.0"
|
|
|
|
|
|
|
|
[features]
|
2022-06-15 16:41:55 -04:00
|
|
|
# keeping this in default to maintain semver compatibility
|
|
|
|
default = [ "arbitrary" ]
|
|
|
|
|
|
|
|
arbitrary = [ ]
|
|
|
|
|
|
|
|
std = [ ]
|
|
|
|
|
|
|
|
async-std = [ "dep:async-std", "async-std/alloc", "async-std/default" ]
|
2022-05-26 10:49:13 -04:00
|
|
|
tokio1 = [ "dep:tokio1" ]
|
|
|
|
tokio1-sync = [ "tokio1", "tokio1/sync" ]
|
2022-06-15 16:41:55 -04:00
|
|
|
tokio1-task = [ "tokio1", "tokio1/rt" ]
|
2022-05-26 10:49:13 -04:00
|
|
|
triggered = [ "dep:triggered" ]
|
|
|
|
|
|
|
|
[dependencies]
|
2022-06-15 16:41:55 -04:00
|
|
|
async-std = { version = "1", default-features = false, optional = true }
|
2022-05-26 10:49:13 -04:00
|
|
|
tokio1 = { package = "tokio", version = "1", default-features = false, optional = true }
|
2022-06-15 16:41:55 -04:00
|
|
|
triggered = { version = "0.1.2", default-features = false, optional = true }
|