From 55ca8e0b7ff60cef8a7f75c29fa78edbb8114043 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kat=20March=C3=A1n?= Date: Tue, 21 Sep 2021 22:34:42 -0700 Subject: [PATCH] fix(api): put panic handler properly behind a flag --- src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib.rs b/src/lib.rs index 28abd23c..97af775a 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -10,6 +10,7 @@ pub use eyreish::*; pub use handler::*; pub use handlers::*; pub use named_source::*; +#[cfg(feature = "fancy")] pub use panic::*; pub use protocol::*; @@ -20,6 +21,7 @@ mod eyreish; mod handler; mod handlers; mod named_source; +#[cfg(feature = "fancy")] mod panic; mod protocol; mod source_impls;