mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Use wrappers in the nonzero crate so users don’t need unstable features
This commit is contained in:
parent
45fd384a91
commit
4594b40238
14 changed files with 19 additions and 34 deletions
|
@ -9,9 +9,6 @@ publish = false
|
|||
name = "canvas_traits"
|
||||
path = "lib.rs"
|
||||
|
||||
[features]
|
||||
unstable = ["nonzero/unstable"]
|
||||
|
||||
[dependencies]
|
||||
cssparser = "0.22.0"
|
||||
euclid = "0.15"
|
||||
|
|
|
@ -5,8 +5,6 @@
|
|||
#![crate_name = "canvas_traits"]
|
||||
#![crate_type = "rlib"]
|
||||
|
||||
#![cfg_attr(feature = "unstable", feature(nonzero))]
|
||||
|
||||
#![deny(unsafe_code)]
|
||||
|
||||
extern crate cssparser;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue