Skip to content

Commit 1ab661d

Browse files
committed
Make cssparser-macros optional
1 parent f936495 commit 1ab661d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ difference = "2.0"
2020
encoding_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 }
2424
dtoa-short = "0.3"
2525
itoa = "1.0"
2626
phf = { version = "0.13.1", features = ["macros"] }
@@ -35,7 +35,7 @@ debug = true
3535
[features]
3636
default = ["fast_match_byte"]
3737
bench = []
38-
fast_match_byte = []
38+
fast_match_byte = ["dep:cssparser-macros"]
3939
# Useful for skipping tests when execution is slow, e.g., under miri
4040
skip_long_tests = []
4141

0 commit comments

Comments
 (0)