fix(api): put panic handler properly behind a flag

This commit is contained in:
Kat Marchán 2021-09-21 22:34:42 -07:00
parent 5331c88fb8
commit 2b2f9f1dc8
No known key found for this signature in database
GPG Key ID: AEB529C08A3C7E9E
1 changed files with 2 additions and 0 deletions

View File

@ -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;