From 5cbeac59dcad653c8eeb11233f97c769b374f946 Mon Sep 17 00:00:00 2001 From: messense Date: Fri, 20 May 2022 16:23:10 +0800 Subject: [PATCH] Add `rust-version` field to `Cargo.toml`s (#1190) --- crates/backend/Cargo.toml | 1 + crates/build/Cargo.toml | 1 + crates/macro/Cargo.toml | 1 + crates/napi/Cargo.toml | 1 + crates/sys/Cargo.toml | 1 + 5 files changed, 5 insertions(+) diff --git a/crates/backend/Cargo.toml b/crates/backend/Cargo.toml index 5aa1a18e..77661408 100644 --- a/crates/backend/Cargo.toml +++ b/crates/backend/Cargo.toml @@ -6,6 +6,7 @@ license = "MIT" name = "napi-derive-backend" readme = "README.md" repository = "https://github.com/napi-rs/napi-rs" +rust-version = "1.57" version = "1.0.32" [package.metadata.workspaces] diff --git a/crates/build/Cargo.toml b/crates/build/Cargo.toml index bc31e34c..dd6bd73b 100644 --- a/crates/build/Cargo.toml +++ b/crates/build/Cargo.toml @@ -8,6 +8,7 @@ license = "MIT" name = "napi-build" readme = "README.md" repository = "https://github.com/napi-rs/napi-rs" +rust-version = "1.57" version = "2.0.0" [package.metadata.workspaces] diff --git a/crates/macro/Cargo.toml b/crates/macro/Cargo.toml index 043a6ee4..c8e79c77 100644 --- a/crates/macro/Cargo.toml +++ b/crates/macro/Cargo.toml @@ -7,6 +7,7 @@ license = "MIT" name = "napi-derive" readme = "README.md" repository = "https://github.com/napi-rs/napi-rs" +rust-version = "1.57" version = "2.4.1" [package.metadata.workspaces] diff --git a/crates/napi/Cargo.toml b/crates/napi/Cargo.toml index e29bcb8c..46ec876b 100644 --- a/crates/napi/Cargo.toml +++ b/crates/napi/Cargo.toml @@ -7,6 +7,7 @@ license = "MIT" name = "napi" readme = "README.md" repository = "https://github.com/napi-rs/napi-rs" +rust-version = "1.57" version = "2.4.3" [package.metadata.docs.rs] diff --git a/crates/sys/Cargo.toml b/crates/sys/Cargo.toml index 0e2cea78..7da4e8ef 100644 --- a/crates/sys/Cargo.toml +++ b/crates/sys/Cargo.toml @@ -8,6 +8,7 @@ license = "MIT" name = "napi-sys" readme = "README.md" repository = "https://github.com/napi-rs/napi-rs" +rust-version = "1.57" version = "2.2.2" [features]