Skip to content

Commit

Permalink
Merge pull request #86 from nyonson/optional-dep-for-futures
Browse files Browse the repository at this point in the history
Mark optional deps optional to keep out of dependency tree when not used
  • Loading branch information
rustaceanrob authored Oct 30, 2024
2 parents 8b4363c + 42ef7e0 commit fe9e4b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion protocol/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ std = ["alloc", "bitcoin/std", "rand/std", "rand/std_rng"]
alloc = []

[dependencies]
futures = { version = "0.3.30", default-features = false }
futures = { version = "0.3.30", default-features = false, optional = true }
rand = { version = "0.8.0", default-features = false }
bitcoin = { version = "0.32.0", default-features = false }

Expand Down

0 comments on commit fe9e4b4

Please sign in to comment.