File tree Expand file tree Collapse file tree 6 files changed +11
-14
lines changed Expand file tree Collapse file tree 6 files changed +11
-14
lines changed Original file line number Diff line number Diff line change 11[package ]
22
33name = " html5ever"
4- version = " 0.18.0"
4+ version = " 0.18.0" # At next breaking change: also remove the "unstable" feature, now a no-op.
55authors = [ " The html5ever Project Developers" ]
66license = " MIT / Apache-2.0"
77repository = " https://github.com/servo/html5ever"
@@ -30,7 +30,7 @@ name = "tokenizer"
3030harness = false
3131
3232[features ]
33- unstable = [" markup5ever/unstable " ]
33+ unstable = []
3434heap_size = [" markup5ever/heap_size" ]
3535
3636[dependencies ]
Original file line number Diff line number Diff line change 11[package ]
22name = " 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
44authors = [ " The html5ever Project Developers" ]
55license = " MIT / Apache-2.0"
66repository = " https://github.com/servo/html5ever"
@@ -13,12 +13,12 @@ path = "lib.rs"
1313
1414[features ]
1515heap_size = [" heapsize" , " heapsize_derive" , " string_cache/heapsize" ]
16- unstable = [" tendril/unstable " ]
16+ unstable = []
1717
1818[dependencies ]
1919string_cache = " 0.6"
2020phf = " 0.7"
21- tendril = " 0.3"
21+ tendril = " 0.3.1 "
2222heapsize = { version = " >= 0.3, < 0.5" , optional = true }
2323heapsize_derive = { version = " 0.1" , optional = true }
2424
Original file line number Diff line number Diff line change @@ -13,9 +13,8 @@ set -ex
1313if [ $TRAVIS_RUST_VERSION = nightly ]
1414then
1515 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"
1918else
2019 cargo test -p html5ever --bench tokenizer
2120 cargo test --all
Original file line number Diff line number Diff line change 11[package ]
22
33name = " xml5ever"
4- version = " 0.8.0"
4+ version = " 0.8.0" # At next breaking change: also remove the "unstable" feature, now a no-op.
55authors = [" The xml5ever project developers" ]
66license = " MIT / Apache-2.0"
77repository = " https://github.com/servo/html5ever"
@@ -19,7 +19,7 @@ name = "xml5ever"
1919doctest = true
2020
2121[features ]
22- unstable = [" markup5ever/unstable " ]
22+ unstable = []
2323
2424[dependencies ]
2525time = " 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:
7070
7171``` rust
7272 git submodule update -- init # to fetch xml5lib - tests
73- cargo build -- features unstable
74- cargo test -- features unstable
73+ cargo build
74+ cargo test
7575```
7676
7777This will fetch tests from outside repository and it will invoke cargo to
Original file line number Diff line number Diff line change 77// option. This file may not be copied, modified, or distributed
88// except according to those terms.
99
10- #![ cfg_attr( feature = "unstable" , feature( start, test) ) ]
11-
1210extern crate rustc_serialize;
1311extern crate test;
1412#[ macro_use] extern crate xml5ever;
You can’t perform that action at this time.
0 commit comments