From e587de7546ac17c36b96d6f99f11a132fe5acb9d Mon Sep 17 00:00:00 2001 From: Alan Somers Date: Fri, 15 Oct 2021 15:52:05 -0600 Subject: [PATCH] Declare the MSRV in Cargo.toml This is a new feature in Cargo 1.56.0, currently in beta. Once Nix's MSRV is >= 1.56.0, this feature will prevent future problems like the bitflags 1.3.0 fiasco. Issue #1491 Issue #1510 Issue #1548 Issue #1555 --- Cargo.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/Cargo.toml b/Cargo.toml index c2688304be..bb74e80f0c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,6 +3,7 @@ name = "nix" description = "Rust friendly bindings to *nix APIs" edition = "2018" version = "0.23.0" +rust-version = "1.46" authors = ["The nix-rust Project Developers"] repository = "https://github.com/nix-rust/nix" license = "MIT"