diff --git a/README.md b/README.md index f0879cb..a280891 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,6 @@ # itconfig [![Build Status](https://travis-ci.org/icetemple/itconfig-rs.svg?branch=master)](https://travis-ci.org/icetemple/itconfig-rs) +[![unsafe forbidden](https://img.shields.io/badge/unsafe-forbidden-success.svg)](https://github.com/rust-secure-code/safety-dance/) [![Documentation](https://docs.rs/itconfig/badge.svg)](https://docs.rs/itconfig) [![Crates.io](https://img.shields.io/badge/crates.io-v1.0.1-blue.svg?longCache=true)](https://crates.io/crates/itconfig) [![Join the chat at https://gitter.im/icetemple/itconfig-rs](https://badges.gitter.im/icetemple/itconfig-rs.svg)](https://gitter.im/icetemple/itconfig-rs?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) diff --git a/itconfig-macro/src/lib.rs b/itconfig-macro/src/lib.rs index e353137..09040da 100644 --- a/itconfig-macro/src/lib.rs +++ b/itconfig-macro/src/lib.rs @@ -1,4 +1,5 @@ #![recursion_limit = "256"] +#![forbid(unsafe_code)] mod ast; mod expand; diff --git a/itconfig/src/lib.rs b/itconfig/src/lib.rs index f449422..135b7e6 100644 --- a/itconfig/src/lib.rs +++ b/itconfig/src/lib.rs @@ -137,9 +137,9 @@ //! // Rustc lints. +#![forbid(unsafe_code)] #![deny( missing_debug_implementations, - unsafe_code, unstable_features, unused_imports, unused_qualifications