Implement file-backed persistent storage
This allows running ctap2 authenticator application on non-embedded host OS to implement virtual FIDO2 authenticator for QEMU
This commit is contained in:
@@ -365,6 +365,8 @@ extern crate alloc;
|
||||
mod buffer;
|
||||
#[cfg(feature = "std")]
|
||||
mod driver;
|
||||
#[cfg(feature = "hostenv")]
|
||||
mod file;
|
||||
mod format;
|
||||
pub mod fragment;
|
||||
#[cfg(feature = "std")]
|
||||
@@ -380,6 +382,8 @@ pub use self::buffer::{BufferCorruptFunction, BufferOptions, BufferStorage};
|
||||
pub use self::driver::{
|
||||
StoreDriver, StoreDriverOff, StoreDriverOn, StoreInterruption, StoreInvariant,
|
||||
};
|
||||
#[cfg(feature = "hostenv")]
|
||||
pub use self::file::FileStorage;
|
||||
#[cfg(feature = "std")]
|
||||
pub use self::model::{StoreModel, StoreOperation};
|
||||
pub use self::storage::{Storage, StorageError, StorageIndex, StorageResult};
|
||||
|
||||
Reference in New Issue
Block a user