Skip to content

Commit

Permalink
fix(sync-only): remove futures dep when no async features are being used
Browse files Browse the repository at this point in the history
  • Loading branch information
zkat committed Sep 11, 2023
1 parent 763a29c commit 100609a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ categories = ["caching", "filesystem"]
async-std = { version = "1.10.0", features = ["unstable"], optional = true }
digest = "0.10.6"
either = "1.6.1"
futures = "0.3.17"
futures = { version = "0.3.17", optional = true }
hex = "0.4.3"
memmap2 = { version = "0.5.8", optional = true }
miette = "5.7.0"
Expand Down Expand Up @@ -58,5 +58,6 @@ harness = false
[features]
default = ["async-std", "mmap"]
mmap = ["memmap2", "libc"]
async-std = ["dep:async-std", "futures"]
link_to = []
tokio-runtime = ["tokio", "tokio-stream"]
tokio-runtime = ["tokio", "tokio-stream", "futures"]

0 comments on commit 100609a

Please sign in to comment.