diff --git a/.changelog/unreleased/bug-fixes/4403-fix-crates-build.md b/.changelog/unreleased/bug-fixes/4403-fix-crates-build.md new file mode 100644 index 0000000000..5349130a04 --- /dev/null +++ b/.changelog/unreleased/bug-fixes/4403-fix-crates-build.md @@ -0,0 +1,2 @@ +- Fixed the build of some crates with non-default features. + ([\#4403](https://github.com/anoma/namada/pull/4403)) \ No newline at end of file diff --git a/Cargo.lock b/Cargo.lock index a80d4e4c65..edde4dc825 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -6548,6 +6548,7 @@ dependencies = [ "derivation-path", "fd-lock", "itertools 0.14.0", + "linkme", "masp_primitives", "nam-tiny-hderive", "namada_core", diff --git a/crates/governance/Cargo.toml b/crates/governance/Cargo.toml index edd1d58244..cf8d47e40b 100644 --- a/crates/governance/Cargo.toml +++ b/crates/governance/Cargo.toml @@ -13,7 +13,7 @@ repository.workspace = true version.workspace = true [features] -testing = ["proptest"] +testing = ["proptest", "namada_core/testing"] arbitrary = ["dep:arbitrary", "namada_core/arbitrary"] migrations = ["namada_migrations", "linkme"] diff --git a/crates/proof_of_stake/Cargo.toml b/crates/proof_of_stake/Cargo.toml index db7faf7eae..90632a8b36 100644 --- a/crates/proof_of_stake/Cargo.toml +++ b/crates/proof_of_stake/Cargo.toml @@ -15,7 +15,7 @@ version.workspace = true [features] default = [] # testing helpers -testing = ["proptest"] +testing = ["proptest", "namada_core/testing"] migrations = ["namada_migrations", "linkme"] [dependencies] diff --git a/crates/wallet/Cargo.toml b/crates/wallet/Cargo.toml index 87c030a700..db2ebdc8c5 100644 --- a/crates/wallet/Cargo.toml +++ b/crates/wallet/Cargo.toml @@ -16,7 +16,7 @@ version.workspace = true default = [] std = ["fd-lock", "download-params"] download-params = [] -migrations = ["namada_migrations"] +migrations = ["namada_migrations", "linkme"] [dependencies] namada_core = { workspace = true, features = ["rand"] } @@ -30,6 +30,7 @@ itertools.workspace = true derivation-path.workspace = true data-encoding.workspace = true fd-lock = { workspace = true, optional = true } +linkme = { workspace = true, optional = true } masp_primitives.workspace = true orion.workspace = true rand.workspace = true