forbid unsafe

This commit is contained in:
Tamas Blummer 2019-07-23 23:29:45 +02:00
parent 783948446c
commit ff2f5d9ec2
2 changed files with 3 additions and 0 deletions

View File

@ -1,4 +1,5 @@
[![Status](https://travis-ci.org/rust-bitcoin/rust-bitcoin.png?branch=master)](https://travis-ci.org/rust-bitcoin/rust-bitcoin) [![Status](https://travis-ci.org/rust-bitcoin/rust-bitcoin.png?branch=master)](https://travis-ci.org/rust-bitcoin/rust-bitcoin)
[![Safety Dance](https://img.shields.io/badge/unsafe-forbidden-success.svg)](https://github.com/rust-secure-code/safety-dance/)
# Rust Bitcoin Library # Rust Bitcoin Library

View File

@ -41,6 +41,8 @@
#![deny(non_snake_case)] #![deny(non_snake_case)]
#![deny(unused_mut)] #![deny(unused_mut)]
#![deny(missing_docs)] #![deny(missing_docs)]
#![forbid(unsafe_code)]
extern crate bitcoin_bech32; extern crate bitcoin_bech32;
extern crate bitcoin_hashes; extern crate bitcoin_hashes;