Skip to content

Commit 29f6c69

Browse files
committed
Stop quasi_codegen bringing in syntex stack
Unlike everything else, quasi_codegen has with-syntex as a default feature. Probably because it breaks public API -- in our case, we'll have to either: (a) add a non-with-syntex version of ::expand() to quasi_codegen, or (b) adapt to it in build.rs
1 parent 9a45917 commit 29f6c69

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

libbindgen/Cargo.toml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,9 @@ clap = "2"
2020
shlex = "0.1"
2121
tests_expectations = { path = "tests/expectations" }
2222

23-
[build-dependencies]
24-
quasi_codegen = "0.25"
23+
[build-dependencies.quasi_codegen]
24+
default-features = false
25+
version = "0.25"
2526

2627
[dependencies]
2728
aster = "0.33"
@@ -55,6 +56,6 @@ default = ["logging", "syntex"]
5556
llvm_stable = []
5657
logging = ["env_logger", "log"]
5758
static = []
58-
syntex = ["syntex_syntax", "aster/with-syntex", "quasi/with-syntex"]
59+
syntex = ["syntex_syntax", "aster/with-syntex", "quasi/with-syntex", "quasi_codegen/with-syntex"]
5960
# This feature only exists for CI -- don't use it!
6061
_docs = []

0 commit comments

Comments
 (0)