Add an 'unstable' top-level cargo feature to control optional unstable stuff.

This commit is contained in:
Simon Sapin 2017-10-11 23:41:06 +02:00
parent c496aa16a0
commit 132b540518
5 changed files with 8 additions and 7 deletions

View file

@ -9,6 +9,9 @@ publish = false
name = "layout_thread"
path = "lib.rs"
[features]
unstable = ["parking_lot/nightly"]
[dependencies]
app_units = "0.5"
atomic_refcell = "0.1"
@ -26,7 +29,7 @@ log = "0.3.5"
metrics = {path = "../metrics"}
msg = {path = "../msg"}
net_traits = {path = "../net_traits"}
parking_lot = {version = "0.4", features = ["nightly"]}
parking_lot = "0.4"
profile_traits = {path = "../profile_traits"}
range = {path = "../range"}
rayon = "0.8"