Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/cfg/Cargo.toml')
-rw-r--r--crates/cfg/Cargo.toml6
1 files changed, 5 insertions, 1 deletions
diff --git a/crates/cfg/Cargo.toml b/crates/cfg/Cargo.toml
index 4a0fdd30e0..132505fbf4 100644
--- a/crates/cfg/Cargo.toml
+++ b/crates/cfg/Cargo.toml
@@ -17,5 +17,9 @@ tt = { path = "../tt", version = "0.0.0" }
mbe = { path = "../mbe" }
syntax = { path = "../syntax" }
expect-test = "1.1"
-arbitrary = { version = "1", features = ["derive"] }
oorandom = "11"
+# We depend on both individually instead of using `features = ["derive"]` to microoptimize the
+# build graph: if the feature was enabled, syn would be built early on in the graph if `smolstr`
+# supports `arbitrary`. This way, we avoid feature unification.
+arbitrary = "1"
+derive_arbitrary = "1"