Skip to content

Commit

Permalink
fix cargo check errors
Browse files Browse the repository at this point in the history
  • Loading branch information
0xshawn committed Oct 17, 2024
1 parent d3f0e9d commit b6f7c5e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ futures = { version = "0.3", optional = true }
getrandom = { version = "0.2", optional = true, features = ["js"] }
serde-wasm-bindgen = { version = "0.4", optional = true}
wasm-bindgen = { version = "0.2.95", optional = true }
serde_bytes = { version = "0.11", optional = true }
serde_bytes = { version = "0.11" }

[dependencies.webpki]
version = "0.102.8"
Expand Down Expand Up @@ -81,4 +81,4 @@ std = [
"urlencoding",
]
report = ["std", "tracing", "futures"]
js = ["ring/wasm32_unknown_unknown_js", "getrandom", "serde-wasm-bindgen", "wasm-bindgen", "serde_bytes"]
js = ["ring/wasm32_unknown_unknown_js", "getrandom", "serde-wasm-bindgen", "wasm-bindgen"]
2 changes: 2 additions & 0 deletions src/verify.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ use crate::{
};
use crate::{Error, QuoteCollateralV3};
use serde::{Deserialize, Serialize};

#[cfg(feature = "js")]
use wasm_bindgen::prelude::*;

#[derive(Debug, Clone, Deserialize, Serialize)]
Expand Down

0 comments on commit b6f7c5e

Please sign in to comment.