mirror of
https://github.com/eyre-rs/eyre.git
synced 2025-09-27 04:50:50 +00:00
Add placeholder std feature
This commit is contained in:
parent
31aedf1c9d
commit
79c3776e92
@ -8,3 +8,7 @@ description = "A better Box<dyn Error>"
|
||||
repository = "https://github.com/dtolnay/anyhow"
|
||||
documentation = "https://docs.rs/anyhow"
|
||||
readme = "README.md"
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
std = []
|
||||
|
@ -4,6 +4,9 @@ mod as_dyn_error;
|
||||
mod context;
|
||||
mod error;
|
||||
|
||||
#[cfg(not(feature = "std"))]
|
||||
compile_error!("no_std support is not implemented yet");
|
||||
|
||||
pub use crate::as_dyn_error::AsDynError;
|
||||
pub use crate::context::Context;
|
||||
pub use crate::error::{Chain, Error};
|
||||
|
Loading…
x
Reference in New Issue
Block a user