Move the unsize feature behind a nightly Cargo feature

This should fully stabilize the `wasm-bindgen` crate, preparing us for stable
Rust!
This commit is contained in:
Alex Crichton
2018-08-19 14:45:59 -07:00
parent 305ecb7910
commit 4c1bf937f2
6 changed files with 8 additions and 2 deletions

View File

@ -5,9 +5,9 @@
//! this crate and this crate also provides JS bindings through the `JsValue`
//! interface.
#![feature(unsize)]
#![no_std]
#![doc(html_root_url = "https://docs.rs/wasm-bindgen/0.2")]
#![cfg_attr(feature = "nightly", feature(unsize))]
#[cfg(feature = "serde-serialize")]
extern crate serde;