summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Somers <asomers@gmail.com>2021-10-15 15:52:05 -0600
committerAlan Somers <asomers@gmail.com>2021-10-15 15:52:05 -0600
commite587de7546ac17c36b96d6f99f11a132fe5acb9d (patch)
tree2bfc2b7e70b085fc6a9d8c595c9d5cfb0297bfe4
parentda49e4f988d7a7fcbb7b98eddd52637f3f3e68e1 (diff)
downloadnix-e587de7546ac17c36b96d6f99f11a132fe5acb9d.zip
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
-rw-r--r--Cargo.toml1
1 files changed, 1 insertions, 0 deletions
diff --git a/Cargo.toml b/Cargo.toml
index c2688304..bb74e80f 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"