No need for specific feature, use std instead
This commit is contained in:
@@ -12,4 +12,3 @@ tempfile = "3"
|
||||
|
||||
[features]
|
||||
std = []
|
||||
hostenv = ["std"]
|
||||
|
||||
@@ -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};
|
||||
|
||||
@@ -120,7 +120,7 @@ then
|
||||
cargo test --features std
|
||||
cd ../..
|
||||
cd libraries/persistent_store
|
||||
cargo test --features std,hostenv
|
||||
cargo test --features std
|
||||
cd ../..
|
||||
cargo test --features std
|
||||
|
||||
|
||||
Reference in New Issue
Block a user