Skip to content

Commit

Permalink
More packaging things…
Browse files Browse the repository at this point in the history
  • Loading branch information
sgwilym committed Aug 10, 2024
1 parent 73dbda6 commit 47efdc1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
8 changes: 2 additions & 6 deletions meadowcap/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ license = "MIT OR Apache-2.0"

[features]
default = []
dev = ["dep:arbitrary"]
dev = ["dep:arbitrary", "willow-data-model/dev"]

[dependencies]
signature = "2.2.0"
Expand All @@ -16,11 +16,7 @@ arbitrary = { version = "1.0.2", features = ["derive"], optional = true }
either = "1.13.0"
syncify = "0.1.0"
willow-encoding = { path = "../encoding", version = "0.1.0" }

[dependencies.willow-data-model]
path = "../data-model"
version = "0.1.0"

willow-data-model = { path = "../data-model", version = "0.1.0" }

[lints]
workspace = true
3 changes: 2 additions & 1 deletion meadowcap/src/mc_subspace_capability.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ use crate::IsCommunal;
use arbitrary::{Arbitrary, Error as ArbitraryError};

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

0 comments on commit 47efdc1

Please sign in to comment.