Merge pull request #358 from TheBlueMatt/2019-07-no-unsafe
[rust-lightning] / src / lib.rs
index aae543e073838e605c6996241aea2b05f22e123d..c6e4708a8ebadb933e794889d1378e6b34f24fdf 100644 (file)
@@ -10,6 +10,7 @@
 //! instead of having a rather-separate lightning appendage to a wallet.
 
 #![cfg_attr(not(feature = "fuzztarget"), deny(missing_docs))]
+#![forbid(unsafe_code)]
 
 extern crate bitcoin;
 extern crate bitcoin_hashes;