Skip to content
This repository was archived by the owner on May 28, 2024. It is now read-only.

Commit 7346186

Browse files
committed
Remove string_cache dependency and the "unstable" cargo feature
1 parent 36b6932 commit 7346186

File tree

3 files changed

+2
-7
lines changed

3 files changed

+2
-7
lines changed

.travis.yml

-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ rust:
55
- stable
66
script:
77
- cargo test
8-
- ([ $TRAVIS_RUST_VERSION != nightly ] || cargo test --features unstable)
98

109
branches:
1110
except:

Cargo.toml

+2-4
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
name = "selectors"
44
version = "0.14.0"
55
authors = ["Simon Sapin <simon.sapin@exyr.org>", "Alan Jeffrey <ajeffrey@mozilla.com>"]
6-
documentation = "http://doc.servo.org/selectors/"
6+
documentation = "https://docs.rs/selectors/"
77

88
description = "CSS Selectors matching for Rust"
99
repository = "https://github.com/servo/rust-selectors"
@@ -12,14 +12,12 @@ keywords = ["css", "selectors"]
1212
license = "MPL-2.0"
1313

1414
[features]
15-
unstable = ["string_cache/unstable"]
16-
heap_size = ["string_cache/heap_size", "heapsize", "heapsize_plugin"]
15+
heap_size = ["heapsize", "heapsize_plugin"]
1716

1817
[dependencies]
1918
bitflags = "0.7"
2019
matches = "0.1"
2120
cssparser = ">=0.6, <0.8"
2221
fnv = "1.0"
23-
string_cache = "0.2.16"
2422
heapsize = {version = "0.3", features = ["unstable"], optional = true}
2523
heapsize_plugin = {version = "0.1.0", optional = true}

src/lib.rs

-2
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,13 @@
22
* License, v. 2.0. If a copy of the MPL was not distributed with this
33
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
44

5-
#![cfg_attr(all(test, feature = "unstable"), feature(test))]
65
#![cfg_attr(feature = "heap_size", feature(plugin, custom_derive))]
76
#![cfg_attr(feature = "heap_size", plugin(heapsize_plugin))]
87

98
#[cfg(feature = "heap_size")] extern crate heapsize;
109
#[macro_use] extern crate bitflags;
1110
#[macro_use] extern crate cssparser;
1211
#[macro_use] extern crate matches;
13-
#[macro_use] extern crate string_cache;
1412
extern crate fnv;
1513

1614
pub mod bloom;

0 commit comments

Comments
 (0)