Skip to content

Commit 4445aec

Browse files
committed
Cleanup
1 parent 81138ea commit 4445aec

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

crates/bitwarden-core/src/platform/generate_fingerprint.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
//! This module contains the logic for generating fingerprints.
44
55
use base64::{engine::general_purpose::STANDARD, Engine};
6-
use bitwarden_crypto::{fingerprint, SpkiPublicKeyBytes};
6+
use bitwarden_crypto::fingerprint;
77
use serde::{Deserialize, Serialize};
88
use thiserror::Error;
99

crates/bitwarden-crypto/src/content_format.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
use serde::{Deserialize, Serialize};
2-
#[cfg(feature = "wasm")]
3-
use tsify_next::Tsify;
42

53
use crate::{
64
traits::PrimitiveEncryptableWithContentType, CryptoError, EncString, KeyEncryptable,

crates/bitwarden-crypto/src/keys/symmetric_crypto_key.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -407,6 +407,7 @@ impl From<EncodedSymmetricKey> for Vec<u8> {
407407
}
408408
}
409409
impl EncodedSymmetricKey {
410+
#[allow(private_interfaces)]
410411
pub fn content_format(&self) -> ContentFormat {
411412
match self {
412413
EncodedSymmetricKey::LegacyNonCoseKey(_) => ContentFormat::BitwardenLegacyKey,

0 commit comments

Comments
 (0)