Disallow unsafe code in net and net_traits.

This commit is contained in:
Ms2ger 2016-03-14 15:24:00 +01:00
parent ce2da28a00
commit e8db43ce50
4 changed files with 40 additions and 14 deletions

View file

@ -11,6 +11,8 @@
#![feature(custom_attribute)]
#![plugin(heapsize_plugin, serde_macros)]
#![deny(unsafe_code)]
extern crate heapsize;
extern crate hyper;
extern crate image as piston_image;