We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9856b3d commit 72346e8Copy full SHA for 72346e8
sdk/rust/types/src/tappd.rs
@@ -4,11 +4,13 @@ use alloc::{
4
vec::Vec,
5
};
6
use anyhow::{bail, Context as _, Result};
7
-use borsh::{BorshDeserialize, BorshSerialize};
8
use hex::{encode as hex_encode, FromHexError};
9
use serde::{Deserialize, Serialize};
10
use sha2::Digest;
11
+#[cfg(feature = "borsh")]
12
+use borsh::{BorshDeserialize, BorshSerialize};
13
+
14
use crate::dstack::EventLog;
15
16
const INIT_MR: &str = "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000";
0 commit comments