aboutsummaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
authorJoey Sacchini <joey@sacchini.net>2020-12-03 16:42:33 -0500
committerJoey Sacchini <joey@sacchini.net>2020-12-03 16:42:33 -0500
commit4fe34abc62651a79a750e25c2a1294cdf0464280 (patch)
tree66fbb56791b51c8b71a2a2726022268caadf1370 /src/lib.rs
parent64272b9938ffe84a196b00fd4f14125bcaf9f832 (diff)
downloadcraftio-rs-4fe34abc62651a79a750e25c2a1294cdf0464280.tar.gz
craftio-rs-4fe34abc62651a79a750e25c2a1294cdf0464280.tar.bz2
craftio-rs-4fe34abc62651a79a750e25c2a1294cdf0464280.zip
make backtraces a feature flag
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 5789dd5..09cb456 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -1,4 +1,4 @@
-#![feature(backtrace)]
+#![cfg_attr(feature = "backtrace", feature(backtrace))]
#[cfg(feature = "encryption")]
mod cfb8;