File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ difference = "2.0"
2020encoding_rs = " 0.8"
2121
2222[dependencies ]
23- cssparser-macros = { path = " ./macros" , version = " 0.6.1" }
23+ cssparser-macros = { path = " ./macros" , version = " 0.6.1" , optional = true }
2424dtoa-short = " 0.3"
2525itoa = " 1.0"
2626phf = { version = " 0.13.1" , features = [" macros" ] }
@@ -35,7 +35,7 @@ debug = true
3535[features ]
3636default = [" fast_match_byte" ]
3737bench = []
38- fast_match_byte = []
38+ fast_match_byte = [" dep:cssparser-macros " ]
3939# Useful for skipping tests when execution is slow, e.g., under miri
4040skip_long_tests = []
4141
Original file line number Diff line number Diff line change @@ -12,10 +12,11 @@ edition = "2021"
1212path = " lib.rs"
1313
1414[dependencies ]
15- cssparser = { path = " .." , version = " 0.36" }
15+ cssparser = { path = " .." , version = " 0.36" , default-features = false }
1616serde = { version = " 1.0" , features = [" derive" ], optional = true }
1717
1818[features ]
19+ default = [" cssparser/default" ]
1920serde = [" cssparser/serde" , " dep:serde" ]
2021
2122[dev-dependencies ]
You can’t perform that action at this time.
0 commit comments