Use wrappers in the nonzero crate so users don’t need unstable features

This commit is contained in:
Simon Sapin 2017-10-12 17:39:31 +02:00
parent 45fd384a91
commit 4594b40238
14 changed files with 19 additions and 34 deletions

View file

@ -9,9 +9,6 @@ publish = false
name = "script_layout_interface"
path = "lib.rs"
[features]
unstable = ["nonzero/unstable"]
[dependencies]
app_units = "0.5"
atomic_refcell = "0.1"

View file

@ -7,7 +7,6 @@
//! to depend on script.
#![deny(unsafe_code)]
#![cfg_attr(feature = "unstable", feature(nonzero))]
extern crate app_units;
extern crate atomic_refcell;