No need for specific feature, use std instead

This commit is contained in:
Egor Duda
2022-06-05 22:40:32 +03:00
parent f2cb2f72e7
commit c0299c3225
3 changed files with 3 additions and 4 deletions

View File

@@ -365,7 +365,7 @@ extern crate alloc;
mod buffer;
#[cfg(feature = "std")]
mod driver;
#[cfg(feature = "hostenv")]
#[cfg(feature = "std")]
mod file;
mod format;
pub mod fragment;
@@ -382,7 +382,7 @@ pub use self::buffer::{BufferCorruptFunction, BufferOptions, BufferStorage};
pub use self::driver::{
StoreDriver, StoreDriverOff, StoreDriverOn, StoreInterruption, StoreInvariant,
};
#[cfg(feature = "hostenv")]
#[cfg(feature = "std")]
pub use self::file::FileStorage;
#[cfg(feature = "std")]
pub use self::model::{StoreModel, StoreOperation};