From 0a4496a6c9f32d0646f2303bc78be18321e36d80 Mon Sep 17 00:00:00 2001 From: Joe Date: Fri, 6 Feb 2026 18:28:31 -0600 Subject: [PATCH] Update serde dependency in Cargo.toml for memofs - Moved the `serde` dependency under the macOS-specific target configuration to ensure proper conditional inclusion based on the operating system. - This change enhances the clarity of dependency management and maintains compatibility across different platforms. --- crates/memofs/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/memofs/Cargo.toml b/crates/memofs/Cargo.toml index ac5eb17a..cb59b3cb 100644 --- a/crates/memofs/Cargo.toml +++ b/crates/memofs/Cargo.toml @@ -19,13 +19,13 @@ crossbeam-channel = "0.5.15" fs-err = "3" log = "0.4" notify-debouncer-full = "0.7" +serde = { version = "1.0.228", features = ["derive"] } [target.'cfg(target_os = "macos")'.dependencies] notify = { version = "8.2", features = ["macos_kqueue"] } [target.'cfg(not(target_os = "macos"))'.dependencies] notify = "8.2" -serde = { version = "1.0.228", features = ["derive"] } [dev-dependencies] tempfile = "3.24.0"