From a5b67bd1b2a12c590c12504b34a9c6c013e751c4 Mon Sep 17 00:00:00 2001 From: Andre Masella Date: Tue, 23 Apr 2024 15:06:30 -0400 Subject: [PATCH] Fix `json-dir-list` dependencies on Windows As titled. --- changes/fix_json_dir_list_deps.md | 1 + json-dir-list/Cargo.toml | 1 + 2 files changed, 2 insertions(+) create mode 100644 changes/fix_json_dir_list_deps.md diff --git a/changes/fix_json_dir_list_deps.md b/changes/fix_json_dir_list_deps.md new file mode 100644 index 000000000..b8d5d10b6 --- /dev/null +++ b/changes/fix_json_dir_list_deps.md @@ -0,0 +1 @@ +* Remove `users` crate from dependency list when building `json-dir-list` on Windows diff --git a/json-dir-list/Cargo.toml b/json-dir-list/Cargo.toml index 0e0bf3e35..e6024dcda 100644 --- a/json-dir-list/Cargo.toml +++ b/json-dir-list/Cargo.toml @@ -17,4 +17,5 @@ chrono = "^0.4" gethostname = "^0.4" serde = { version = "^1.0", features = ["derive"] } serde_json = "^1.0" +[target.'cfg(unix)'.dependencies] users = "^0.11"