From 605683ff78929114fc411718b193254b2ebbfcce Mon Sep 17 00:00:00 2001 From: K900 Date: Fri, 29 Sep 2023 18:58:30 +0300 Subject: chore(utils): explicitly specify MSRV, pin deps that break on Rust 1.69 This is not used in dependency resolution, yet, but will be eventually. --- utils/Cargo.toml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'utils/Cargo.toml') diff --git a/utils/Cargo.toml b/utils/Cargo.toml index 6fac1a1..c80880d 100644 --- a/utils/Cargo.toml +++ b/utils/Cargo.toml @@ -2,13 +2,20 @@ name = "nixos-wsl-utils" version = "0.1.0" edition = "2021" +# Keep this in sync with NixOS stable +rust-version = "1.69.0" [dependencies] anyhow = { version = "1.0.75", features = ["backtrace"] } nix = { version = "0.27.1", features = ["mount", "process"] } log = "0.4.20" kernlog = "0.3.1" -clap = { version = "4.1.4", features = ["derive"] } + +# pinned to prevent running over Rust 1.69 +clap = { version = "<4.4", features = ["derive"] } +clap_lex = "<0.5.1" +anstyle = "<1.0.3" +anstyle-parse = "<0.2.2" [[bin]] name = "systemd-shim" -- cgit v1.2.3