Skip to content

Commit bbd081b

Browse files
committed
fix: use new feature resolver
This lets us have additional features in the dev dependencies that aren't used in the non-dev dependencies. Without this, no_std doesn't actually work.
1 parent 93b74d6 commit bbd081b

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ license = "MIT"
1212
readme = "README.md"
1313
documentation = "https://docs.rs/multihash/"
1414
edition = "2018"
15+
resolver = "2"
1516

1617
[features]
1718
default = ["std", "derive", "multihash-impl", "secure-hashes"]

derive/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ edition = "2018"
66
description = "Proc macro for deriving custom multihash tables."
77
license = "MIT"
88
repository = "https://github.com/multiformats/multihash"
9+
resolver = "2"
910

1011
[lib]
1112
proc-macro = true
@@ -24,4 +25,4 @@ std = []
2425

2526
[dev-dependencies]
2627
pretty_assertions = "1.0.0"
27-
multihash = { path = "..", default-features = false }
28+
multihash = { path = "..", default-features = false, features = ["derive", "sha2"] }

0 commit comments

Comments
 (0)