diff --git a/Cargo.toml b/Cargo.toml index 76f6dfc..643ad58 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -28,17 +28,17 @@ harness = false [features] default = ["std"] -std = ["alloc"] -alloc = ["dep:fixedbitset", "dep:slab", "dep:smallvec"] +std = ["alloc", "futures-lite/std"] +alloc = ["dep:fixedbitset", "dep:slab", "dep:smallvec", "futures-lite/alloc"] [dependencies] fixedbitset = { version = "0.5.7", default-features = false, optional = true } futures-core = { version = "0.3", default-features = false } -futures-lite = "1.12.0" +futures-lite = { version = "1.12.0", default-features = false } pin-project = "1.0.8" slab = { version = "0.4.8", optional = true } smallvec = { version = "1.11.0", optional = true } -futures-buffered = "0.2.6" +futures-buffered = "0.2.9" [dev-dependencies] async-io = "2.3.2"