No need for specific feature, use std instead
This commit is contained in:
@@ -12,4 +12,3 @@ tempfile = "3"
|
|||||||
|
|
||||||
[features]
|
[features]
|
||||||
std = []
|
std = []
|
||||||
hostenv = ["std"]
|
|
||||||
|
|||||||
@@ -365,7 +365,7 @@ extern crate alloc;
|
|||||||
mod buffer;
|
mod buffer;
|
||||||
#[cfg(feature = "std")]
|
#[cfg(feature = "std")]
|
||||||
mod driver;
|
mod driver;
|
||||||
#[cfg(feature = "hostenv")]
|
#[cfg(feature = "std")]
|
||||||
mod file;
|
mod file;
|
||||||
mod format;
|
mod format;
|
||||||
pub mod fragment;
|
pub mod fragment;
|
||||||
@@ -382,7 +382,7 @@ pub use self::buffer::{BufferCorruptFunction, BufferOptions, BufferStorage};
|
|||||||
pub use self::driver::{
|
pub use self::driver::{
|
||||||
StoreDriver, StoreDriverOff, StoreDriverOn, StoreInterruption, StoreInvariant,
|
StoreDriver, StoreDriverOff, StoreDriverOn, StoreInterruption, StoreInvariant,
|
||||||
};
|
};
|
||||||
#[cfg(feature = "hostenv")]
|
#[cfg(feature = "std")]
|
||||||
pub use self::file::FileStorage;
|
pub use self::file::FileStorage;
|
||||||
#[cfg(feature = "std")]
|
#[cfg(feature = "std")]
|
||||||
pub use self::model::{StoreModel, StoreOperation};
|
pub use self::model::{StoreModel, StoreOperation};
|
||||||
|
|||||||
@@ -120,7 +120,7 @@ then
|
|||||||
cargo test --features std
|
cargo test --features std
|
||||||
cd ../..
|
cd ../..
|
||||||
cd libraries/persistent_store
|
cd libraries/persistent_store
|
||||||
cargo test --features std,hostenv
|
cargo test --features std
|
||||||
cd ../..
|
cd ../..
|
||||||
cargo test --features std
|
cargo test --features std
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user