Skip to content

Commit

Permalink
Fix trussed imports
Browse files Browse the repository at this point in the history
  • Loading branch information
robin-nitrokey committed Apr 4, 2024
1 parent 4b8191f commit 967478b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
3 changes: 1 addition & 2 deletions src/backend.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ use trussed::{
serde_extensions::ExtensionImpl,
service::{Keystore, ServiceResources},
store::filestore::Filestore,
types::{CoreContext, Location, PathBuf},
Bytes,
types::{Bytes, CoreContext, Location, PathBuf},
};

use crate::{
Expand Down
5 changes: 2 additions & 3 deletions src/backend/data.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,14 @@ use core::ops::Deref;

use chacha20poly1305::ChaCha8Poly1305;
use hmac::{Hmac, Mac};
use rand_core::{CryptoRng, RngCore};
use serde::{Deserialize, Serialize};
use serde_byte_array::ByteArray;
use sha2::{Digest as _, Sha256};
use subtle::ConstantTimeEq as _;
use trussed::{
platform::{CryptoRng, RngCore},
store::filestore::Filestore,
types::{Location, PathBuf},
Bytes,
types::{Bytes, Location, PathBuf},
};

use super::Error;
Expand Down

0 comments on commit 967478b

Please sign in to comment.