Skip to content
This repository was archived by the owner on Oct 23, 2025. It is now read-only.

Commit 47efdc1

Browse files
committed
More packaging things…
1 parent 73dbda6 commit 47efdc1

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

meadowcap/Cargo.toml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ license = "MIT OR Apache-2.0"
77

88
[features]
99
default = []
10-
dev = ["dep:arbitrary"]
10+
dev = ["dep:arbitrary", "willow-data-model/dev"]
1111

1212
[dependencies]
1313
signature = "2.2.0"
@@ -16,11 +16,7 @@ arbitrary = { version = "1.0.2", features = ["derive"], optional = true }
1616
either = "1.13.0"
1717
syncify = "0.1.0"
1818
willow-encoding = { path = "../encoding", version = "0.1.0" }
19-
20-
[dependencies.willow-data-model]
21-
path = "../data-model"
22-
version = "0.1.0"
23-
19+
willow-data-model = { path = "../data-model", version = "0.1.0" }
2420

2521
[lints]
2622
workspace = true

meadowcap/src/mc_subspace_capability.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ use crate::IsCommunal;
1010
use arbitrary::{Arbitrary, Error as ArbitraryError};
1111

1212
/// A [delegation](https://willowprotocol.org/specs/pai/index.html#subspace_cap_delegations) of read access for arbitrary `SubspaceId`s to a `UserPublicKey`.
13-
#[derive(Clone, Debug, PartialEq, Eq, Arbitrary)]
13+
#[derive(Clone, Debug, PartialEq, Eq)]
14+
#[cfg_attr(feature = "dev", derive(Arbitrary))]
1415
pub struct SubspaceDelegation<UserPublicKey, UserSignature>
1516
where
1617
UserPublicKey: SubspaceId,

0 commit comments

Comments
 (0)