summaryrefslogtreecommitdiffstats
path: root/src/lib.rs
diff options
context:
space:
mode:
authorSebastian Thiel <sthiel@thoughtworks.com>2019-07-22 12:57:30 +0800
committerSebastian Thiel <sthiel@thoughtworks.com>2019-07-22 12:57:30 +0800
commitf4028baf655e2994459e55d62435de4456fee80f (patch)
tree27d7060027c2abdd18d56ae2719fa46fdf73ed05 /src/lib.rs
parent387cc1f86e5aec8a20a25ea71f74e948b110d2c6 (diff)
Forbid unsafe everywhere
Looks much better in cargo-geiger, and is the right thing to do I believe. Most crates should be able to work without any unsafe.
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs
index ecb66b4..9c1c3f2 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -1,3 +1,5 @@
+#![forbid(unsafe_code)]
+
extern crate failure;
extern crate jwalk;