Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/span/Cargo.toml')
-rw-r--r--crates/span/Cargo.toml5
1 files changed, 4 insertions, 1 deletions
diff --git a/crates/span/Cargo.toml b/crates/span/Cargo.toml
index 569da8082a..097a056c99 100644
--- a/crates/span/Cargo.toml
+++ b/crates/span/Cargo.toml
@@ -12,7 +12,7 @@ authors.workspace = true
[dependencies]
la-arena.workspace = true
-ra-salsa.workspace = true
+ra-salsa = { workspace = true, optional = true }
rustc-hash.workspace = true
hashbrown.workspace = true
text-size.workspace = true
@@ -22,5 +22,8 @@ vfs.workspace = true
syntax.workspace = true
stdx.workspace = true
+[features]
+default = ["ra-salsa"]
+
[lints]
workspace = true