File tree 6 files changed +11
-14
lines changed
6 files changed +11
-14
lines changed Original file line number Diff line number Diff line change 1
1
[package ]
2
2
3
3
name = " html5ever"
4
- version = " 0.18.0"
4
+ version = " 0.18.0" # At next breaking change: also remove the "unstable" feature, now a no-op.
5
5
authors = [ " The html5ever Project Developers" ]
6
6
license = " MIT / Apache-2.0"
7
7
repository = " https://github.com/servo/html5ever"
@@ -30,7 +30,7 @@ name = "tokenizer"
30
30
harness = false
31
31
32
32
[features ]
33
- unstable = [" markup5ever/unstable " ]
33
+ unstable = []
34
34
heap_size = [" markup5ever/heap_size" ]
35
35
36
36
[dependencies ]
Original file line number Diff line number Diff line change 1
1
[package ]
2
2
name = " markup5ever"
3
- version = " 0.3.1"
3
+ version = " 0.3.1" # At next breaking change: also remove the "unstable" feature, now a no-op; update tendril to 0.4
4
4
authors = [ " The html5ever Project Developers" ]
5
5
license = " MIT / Apache-2.0"
6
6
repository = " https://github.com/servo/html5ever"
@@ -13,12 +13,12 @@ path = "lib.rs"
13
13
14
14
[features ]
15
15
heap_size = [" heapsize" , " heapsize_derive" , " string_cache/heapsize" ]
16
- unstable = [" tendril/unstable " ]
16
+ unstable = []
17
17
18
18
[dependencies ]
19
19
string_cache = " 0.6"
20
20
phf = " 0.7"
21
- tendril = " 0.3"
21
+ tendril = " 0.3.1 "
22
22
heapsize = { version = " >= 0.3, < 0.5" , optional = true }
23
23
heapsize_derive = { version = " 0.1" , optional = true }
24
24
Original file line number Diff line number Diff line change @@ -13,9 +13,8 @@ set -ex
13
13
if [ $TRAVIS_RUST_VERSION = nightly ]
14
14
then
15
15
cargo test -p html5ever --features " rustc-test/capture" --bench tokenizer
16
- cargo test -p html5ever --features " rustc-test/capture"
17
- cargo test -p html5ever --features " rustc-test/capture unstable"
18
- cargo test -p xml5ever --features " rustc-test/capture"
16
+ cargo test -p html5ever --features " rustc-test/capture"
17
+ cargo test -p xml5ever --features " rustc-test/capture"
19
18
else
20
19
cargo test -p html5ever --bench tokenizer
21
20
cargo test --all
Original file line number Diff line number Diff line change 1
1
[package ]
2
2
3
3
name = " xml5ever"
4
- version = " 0.8.0"
4
+ version = " 0.8.0" # At next breaking change: also remove the "unstable" feature, now a no-op.
5
5
authors = [" The xml5ever project developers" ]
6
6
license = " MIT / Apache-2.0"
7
7
repository = " https://github.com/servo/html5ever"
@@ -19,7 +19,7 @@ name = "xml5ever"
19
19
doctest = true
20
20
21
21
[features ]
22
- unstable = [" markup5ever/unstable " ]
22
+ unstable = []
23
23
24
24
[dependencies ]
25
25
time = " 0.1"
Original file line number Diff line number Diff line change @@ -70,8 +70,8 @@ To build examples and tests you need to do something along the lines of:
70
70
71
71
``` rust
72
72
git submodule update -- init # to fetch xml5lib - tests
73
- cargo build -- features unstable
74
- cargo test -- features unstable
73
+ cargo build
74
+ cargo test
75
75
```
76
76
77
77
This will fetch tests from outside repository and it will invoke cargo to
Original file line number Diff line number Diff line change 7
7
// option. This file may not be copied, modified, or distributed
8
8
// except according to those terms.
9
9
10
- #![ cfg_attr( feature = "unstable" , feature( start, test) ) ]
11
-
12
10
extern crate rustc_serialize;
13
11
extern crate test;
14
12
#[ macro_use] extern crate xml5ever;
You can’t perform that action at this time.
0 commit comments