Rename the 'unstable' feature of the selectors crate to 'bench'

This commit is contained in:
Simon Sapin 2017-10-11 23:40:31 +02:00
parent acd857fff9
commit c496aa16a0
3 changed files with 3 additions and 3 deletions

View file

@ -20,7 +20,7 @@ doctest = false
[features]
gecko_like_types = []
unstable = []
bench = []
[dependencies]
bitflags = "0.7"

View file

@ -346,7 +346,7 @@ fn create_and_insert_some_stuff() {
}
}
#[cfg(feature = "unstable")]
#[cfg(feature = "bench")]
#[cfg(test)]
mod bench {
extern crate test;

View file

@ -3,7 +3,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// Make |cargo bench| work.
#![cfg_attr(feature = "unstable", feature(test))]
#![cfg_attr(feature = "bench", feature(test))]
#[macro_use] extern crate bitflags;
#[macro_use] extern crate cssparser;