Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/paths/Cargo.toml')
| -rw-r--r-- | crates/paths/Cargo.toml | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/crates/paths/Cargo.toml b/crates/paths/Cargo.toml index 59a4ad9a25..b51892c265 100644 --- a/crates/paths/Cargo.toml +++ b/crates/paths/Cargo.toml @@ -13,13 +13,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 |