Skip to content

Commit

Permalink
fix(rust): fix no_std build
Browse files Browse the repository at this point in the history
  • Loading branch information
SanjoDeundiak committed Aug 18, 2023
1 parent 086a4ca commit 3b30b13
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions implementations/rust/ockam/ockam_vault/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ alloc = [
"aes-gcm/alloc",
"ed25519-dalek/alloc",
"x25519-dalek/alloc",
"p256/alloc",
"p256/ecdsa",
"p256/pem",
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ use aes_gcm::aead::NewAead;
use aes_gcm::{Aes128Gcm, Aes256Gcm};
use arrayref::array_ref;
use ockam_core::compat::collections::BTreeMap;
use ockam_core::compat::rand::RngCore;
use ockam_core::compat::rand::{thread_rng, RngCore};
use ockam_core::compat::sync::{Arc, RwLock};
use ockam_core::compat::vec::Vec;
use ockam_core::{async_trait, compat::boxed::Box, Result};
use ockam_node::KeyValueStorage;
use rand::thread_rng;
use sha2::{Digest, Sha256};

/// [`SecureChannelModule`] implementation using software
Expand Down

0 comments on commit 3b30b13

Please sign in to comment.