Skip to content

Commit 2382311

Browse files
committed
chore: feature gate signed data
Signed-off-by: aeryz <[email protected]>
1 parent f484389 commit 2382311

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

lib/unionlabs/src/aptos.rs

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ pub mod ledger_info;
66
pub mod object;
77
pub mod public_key;
88
pub mod signature;
9+
#[cfg(feature = "bincode")]
910
pub mod signed_data;
1011
pub mod sparse_merkle_proof;
1112
pub mod state_proof;

lib/unionlabs/src/aptos/signed_data.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ use unionlabs_primitives::H512;
55
use crate::encoding::{Bincode, Encode};
66

77
#[model]
8-
#[cfg_attr(feature = "bincode", derive(bincode::Encode, bincode::Decode))]
8+
#[derive(bincode::Encode, bincode::Decode)]
99
pub struct SignedData<T> {
1010
pub signature: H512,
1111
pub data: T,

0 commit comments

Comments
 (0)