Installation fails on Windows
Running cargo install garden-tools
result in the following errors:
error[E0433]: failed to resolve: could not find `unix` in `os`
--> src\cmds\grow.rs:642:14
|
642 | std::os::unix::fs::symlink(target_path, &path)?;
| ^^^^ could not find `unix` in `os`
error[E0433]: failed to resolve: could not find `BaseDirectories` in `xdg`
--> src\config\mod.rs:93:32
|
93 | if let Ok(xdg_dirs) = xdg::BaseDirectories::new() {
| ^^^^^^^^^^^^^^^ could not find `BaseDirectories` in `xdg`
For more information about this error, try `rustc --explain E0433`.
error: could not compile `garden-tools` (lib) due to 2 previous errors
OS: Windows 10 Enterprise Rust:
rustc --version
rustc 1.76.0 (07dca489a 2024-02-04)
cargo --version
cargo 1.76.0 (c84b36747 2024-01-18)