mirror of https://github.com/zkat/miette.git
fix(api): put panic handler properly behind a flag
This commit is contained in:
parent
5331c88fb8
commit
2b2f9f1dc8
|
|
@ -10,6 +10,7 @@ pub use eyreish::*;
|
||||||
pub use handler::*;
|
pub use handler::*;
|
||||||
pub use handlers::*;
|
pub use handlers::*;
|
||||||
pub use named_source::*;
|
pub use named_source::*;
|
||||||
|
#[cfg(feature = "fancy")]
|
||||||
pub use panic::*;
|
pub use panic::*;
|
||||||
pub use protocol::*;
|
pub use protocol::*;
|
||||||
|
|
||||||
|
|
@ -20,6 +21,7 @@ mod eyreish;
|
||||||
mod handler;
|
mod handler;
|
||||||
mod handlers;
|
mod handlers;
|
||||||
mod named_source;
|
mod named_source;
|
||||||
|
#[cfg(feature = "fancy")]
|
||||||
mod panic;
|
mod panic;
|
||||||
mod protocol;
|
mod protocol;
|
||||||
mod source_impls;
|
mod source_impls;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue