Enforce doc link correctness during `cargo doc` runs and in CI
[rust-lightning] / lightning-block-sync / src / lib.rs
index db536fe7d43778ccb062be5813548f2072353a44..96f811d3ee580245672297b306d2b04937fb4a03 100644 (file)
@@ -16,6 +16,9 @@
 //! [`SpvClient`]: struct.SpvClient.html
 //! [`BlockSource`]: trait.BlockSource.html
 
+#![deny(broken_intra_doc_links)]
+#![deny(unsafe_code)]
+
 #[cfg(any(feature = "rest-client", feature = "rpc-client"))]
 pub mod http;