From ed234d41b5fc56810f680f925ff38515847a6b25 Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Sat, 2 Oct 2021 02:19:41 -0400 Subject: [PATCH] Declare minimum Rust version in Cargo metadata --- Cargo.toml | 1 + impl/Cargo.toml | 1 + 2 files changed, 2 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index f619245..812679b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,6 +3,7 @@ name = "thiserror" version = "1.0.29" authors = ["David Tolnay "] edition = "2018" +rust-version = "1.31" license = "MIT OR Apache-2.0" description = "derive(Error)" repository = "https://github.com/dtolnay/thiserror" diff --git a/impl/Cargo.toml b/impl/Cargo.toml index 121f679..cd1efae 100644 --- a/impl/Cargo.toml +++ b/impl/Cargo.toml @@ -3,6 +3,7 @@ name = "thiserror-impl" version = "1.0.29" authors = ["David Tolnay "] edition = "2018" +rust-version = "1.31" license = "MIT OR Apache-2.0" description = "Implementation detail of the `thiserror` crate" repository = "https://github.com/dtolnay/thiserror"