Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
path: Fix unconditional use of `serde` in `path` crate (#61037)
Lukas Wirthb5fa67cfb31e
diff --git a/crates/path/src/rel_path.rs b/crates/path/src/rel_path.rsindex 357fcb82056..80d1d96f338 100644--- a/crates/path/src/rel_path.rs+++ b/crates/path/src/rel_path.rs@@ -597,6 +597,7 @@ impl<'a> DoubleEndedIterator for RelPathComponents<'a> {}}+#[cfg(feature = "serde")]impl<'de> serde::Deserialize<'de> for RelPathBuf {fn deserialize<D>(deserializer: D) -> std::result::Result<Self, D::Error>where