Skip to content

Commit

Permalink
fix compilation error
Browse files Browse the repository at this point in the history
  • Loading branch information
abdulmth committed Aug 15, 2023
1 parent 92b10f9 commit ef449bb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion identity_storage/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,5 @@ memstore = ["dep:tokio", "dep:rand", "dep:iota-crypto", "identity_verification/e
send-sync-storage = []
# Implements the JwkStorageDocumentExt trait for IotaDocument
# Exposes the stronghold implementations for the storage traits.
stronghold = ["dep:iota-sdk", "dep:iota_stronghold", "dep:zeroize", "dep:rand", "dep:iota-crypto"]
stronghold = ["dep:tokio", "dep:iota-sdk", "dep:iota_stronghold", "dep:zeroize", "dep:rand", "dep:iota-crypto"]
iota-document = ["dep:identity_iota_core"]
4 changes: 3 additions & 1 deletion identity_storage/src/stronghold_storage.rs
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
// Copyright 2020-2023 IOTA Stiftung
// SPDX-License-Identifier: Apache-2.0

//! Wrapper around [`StrongholdSecretManager`](StrongholdSecretManager).

use iota_sdk::client::secret::stronghold::StrongholdSecretManager;
use iota_sdk::client::secret::SecretManager;
use iota_stronghold::Stronghold;
use std::sync::Arc;
use tokio::sync::MutexGuard;

/// Wrapper around `StrongholdSecretManager` that implements the [`KeyIdStorage`](crate::KeyIdStorage)
/// Wrapper around a [`StrongholdSecretManager`] that implements the [`KeyIdStorage`](crate::KeyIdStorage)
/// and [`JwkStorage`](crate::JwkStorage) interfaces.
#[derive(Clone, Debug)]
pub struct StrongholdStorage(Arc<SecretManager>);
Expand Down

0 comments on commit ef449bb

Please sign in to comment.