chore: forbit unsafe code
This commit is contained in:
parent
e8bedffbdd
commit
97b295220b
3 changed files with 3 additions and 1 deletions
|
@ -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)
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#![recursion_limit = "256"]
|
||||
#![forbid(unsafe_code)]
|
||||
|
||||
mod ast;
|
||||
mod expand;
|
||||
|
|
|
@ -137,9 +137,9 @@
|
|||
//!
|
||||
|
||||
// Rustc lints.
|
||||
#![forbid(unsafe_code)]
|
||||
#![deny(
|
||||
missing_debug_implementations,
|
||||
unsafe_code,
|
||||
unstable_features,
|
||||
unused_imports,
|
||||
unused_qualifications
|
||||
|
|
Reference in a new issue