From b8dbdbb2059bdc7761fd9a8a2a1cba71079edcc7 Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Sat, 2 Oct 2021 01:49:51 -0400 Subject: [PATCH] Declare minimum Rust version in Cargo metadata --- Cargo.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/Cargo.toml b/Cargo.toml index 543dca52..84d31f2b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,6 +9,7 @@ repository = "https://github.com/alexcrichton/proc-macro2" documentation = "https://docs.rs/proc-macro2" categories = ["development-tools::procedural-macro-helpers"] edition = "2018" +rust-version = "1.31" description = """ A substitute implementation of the compiler's `proc_macro` API to decouple token-based libraries from the procedural macro use case.