We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f484389 commit 2382311Copy full SHA for 2382311
lib/unionlabs/src/aptos.rs
@@ -6,6 +6,7 @@ pub mod ledger_info;
6
pub mod object;
7
pub mod public_key;
8
pub mod signature;
9
+#[cfg(feature = "bincode")]
10
pub mod signed_data;
11
pub mod sparse_merkle_proof;
12
pub mod state_proof;
lib/unionlabs/src/aptos/signed_data.rs
@@ -5,7 +5,7 @@ use unionlabs_primitives::H512;
5
use crate::encoding::{Bincode, Encode};
#[model]
-#[cfg_attr(feature = "bincode", derive(bincode::Encode, bincode::Decode))]
+#[derive(bincode::Encode, bincode::Decode)]
pub struct SignedData<T> {
pub signature: H512,
pub data: T,
0 commit comments