Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/paths/Cargo.toml')
-rw-r--r--crates/paths/Cargo.toml10
1 files changed, 4 insertions, 6 deletions
diff --git a/crates/paths/Cargo.toml b/crates/paths/Cargo.toml
index 59a4ad9a25..d4b0a54ed6 100644
--- a/crates/paths/Cargo.toml
+++ b/crates/paths/Cargo.toml
@@ -1,7 +1,8 @@
[package]
name = "paths"
version = "0.0.0"
-description = "TBD"
+repository.workspace = true
+description = "Path wrappers for absolute and relative paths rust-analyzer."
authors.workspace = true
edition.workspace = true
@@ -13,13 +14,10 @@ doctest = false
[dependencies]
camino.workspace = true
-# Adding this dep sadly puts a lot of rust-analyzer crates after the
-# serde-derive crate. Even though we don't activate the derive feature here,
-# someone else in the crate graph certainly does!
-# serde.workspace = true
+serde = { workspace = true, optional = true }
[features]
-serde1 = ["camino/serde1"]
+serde1 = ["camino/serde1", "dep:serde"]
[lints]
workspace = true