File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,18 +13,18 @@ crate-type = ["cdylib"]
1313[build-dependencies ]
1414built = { version = " 0.7.1" , features = [" cargo-lock" , " chrono" ] }
1515
16+ [dependencies ]
17+ pyo3 = { version = " 0.20.0" , features = [" extension-module" , " abi3-py37" ] }
18+ pyo3-built = " 0.4"
19+ rayon = " 1"
20+ url = " 2"
21+
1622[dependencies .css-inline ]
1723path = " ../../css-inline"
1824version = " *"
1925default-features = false
2026features = [" http" , " file" ]
2127
22- [dependencies ]
23- url = " 2"
24- rayon = " 1"
25- pyo3 = { version = " 0.20.0" , features = [" extension-module" , " abi3-py37" ] }
26- pyo3-built = " 0.4"
27-
2828[profile .release ]
2929codegen-units = 1
3030lto = " fat"
Original file line number Diff line number Diff line change @@ -28,27 +28,27 @@ http = ["attohttpc"]
2828file = []
2929
3030[dependencies ]
31- cssparser = " 0.31.2"
32- html5ever = " 0.26.0"
3331attohttpc = { version = " 0.24" , default-features = false , features = [
3432 " compress" ,
3533 " tls-rustls" ,
3634], optional = true }
37- url = " 2"
38- smallvec = " 1 "
35+ cssparser = " 0.31. 2"
36+ html5ever = " 0.26.0 "
3937indexmap = " 2.1"
4038pico-args = { version = " 0.3" , optional = true }
4139rayon = { version = " 1.7" , optional = true }
4240rustc-hash = " 1.1.0"
4341selectors = " 0.25.0"
42+ smallvec = " 1"
43+ url = " 2"
4444
4545[dev-dependencies ]
4646assert_cmd = " 2.0.6"
47+ codspeed-criterion-compat = " 2.3.0"
4748criterion = { version = " 0.5.1" , features = [], default-features = false }
48- test-case = " 3.1.0"
4949serde = { version = " 1" , features = [" derive" ] }
5050serde_json = " 1"
51- codspeed-criterion-compat = " 2.1.0 "
51+ test-case = " 3.3 "
5252
5353[[bench ]]
5454name = " inliner"
Original file line number Diff line number Diff line change @@ -121,7 +121,6 @@ impl<'a> Sink<'a> {
121121 }
122122}
123123
124- #[ derive( Default ) ]
125124struct ElemInfo {
126125 html_name : Option < LocalName > ,
127126 ignore_children : bool ,
You can’t perform that action at this time.
0 commit comments