From e2c78bdd3b6843238f515d1fd25d660333cf5521 Mon Sep 17 00:00:00 2001 From: KtorZ Date: Thu, 13 Apr 2023 17:24:44 +0200 Subject: [PATCH] Add min rust-version to crates So that people runs into better errors if they try installing from source with an 'obsolete' rust compiler. --- crates/aiken-lang/Cargo.toml | 5 ++--- crates/aiken-lsp/Cargo.toml | 2 +- crates/aiken-project/Cargo.toml | 1 + crates/aiken/Cargo.toml | 1 + crates/flat-rs/Cargo.toml | 3 +-- crates/uplc/Cargo.toml | 4 +--- 6 files changed, 7 insertions(+), 9 deletions(-) diff --git a/crates/aiken-lang/Cargo.toml b/crates/aiken-lang/Cargo.toml index f66f22d4..3a3a7931 100644 --- a/crates/aiken-lang/Cargo.toml +++ b/crates/aiken-lang/Cargo.toml @@ -1,14 +1,13 @@ [package] name = "aiken-lang" -description = "The aiken compiler" +description = "The Aiken compiler" version = "0.0.29" edition = "2021" repository = "https://github.com/aiken-lang/aiken" homepage = "https://github.com/aiken-lang/aiken" license = "Apache-2.0" authors = ["Lucas Rosa ", "Kasey White "] - -# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html +rust-version = "1.66.1" [dependencies] chumsky = "0.9.2" diff --git a/crates/aiken-lsp/Cargo.toml b/crates/aiken-lsp/Cargo.toml index 324a22ca..e1bee055 100644 --- a/crates/aiken-lsp/Cargo.toml +++ b/crates/aiken-lsp/Cargo.toml @@ -7,7 +7,7 @@ repository = "https://github.com/aiken-lang/aiken" homepage = "https://github.com/aiken-lang/aiken" license = "Apache-2.0" authors = ["Lucas Rosa "] - +rust-version = "1.66.1" [dependencies] aiken-lang = { path = '../aiken-lang', version = "0.0.29" } diff --git a/crates/aiken-project/Cargo.toml b/crates/aiken-project/Cargo.toml index f972900a..94683ca8 100644 --- a/crates/aiken-project/Cargo.toml +++ b/crates/aiken-project/Cargo.toml @@ -7,6 +7,7 @@ repository = "https://github.com/aiken-lang/aiken/crates/project" homepage = "https://github.com/aiken-lang/aiken" license = "Apache-2.0" authors = ["Lucas Rosa ", "Kasey White "] +rust-version = "1.66.1" [dependencies] aiken-lang = { path = "../aiken-lang", version = "0.0.29" } diff --git a/crates/aiken/Cargo.toml b/crates/aiken/Cargo.toml index 9d152121..d2246520 100644 --- a/crates/aiken/Cargo.toml +++ b/crates/aiken/Cargo.toml @@ -7,6 +7,7 @@ repository = "https://github.com/aiken-lang/aiken" homepage = "https://github.com/aiken-lang/aiken" license = "Apache-2.0" authors = ["Lucas Rosa ", "Kasey White "] +rust-version = "1.66.1" [dependencies] anyhow = "1.0.69" diff --git a/crates/flat-rs/Cargo.toml b/crates/flat-rs/Cargo.toml index 73ef0604..1ca215a5 100644 --- a/crates/flat-rs/Cargo.toml +++ b/crates/flat-rs/Cargo.toml @@ -7,8 +7,7 @@ repository = "https://github.com/aiken-lang/aiken/crates/flat" homepage = "https://github.com/aiken-lang/aiken" license = "Apache-2.0" authors = ["Lucas Rosa ", "Kasey White "] - -# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html +rust-version = "1.66.1" [dependencies] anyhow = "1.0.69" diff --git a/crates/uplc/Cargo.toml b/crates/uplc/Cargo.toml index 48fb7c3a..1d83cda6 100644 --- a/crates/uplc/Cargo.toml +++ b/crates/uplc/Cargo.toml @@ -7,11 +7,9 @@ repository = "https://github.com/aiken-lang/aiken/crates/uplc" homepage = "https://github.com/aiken-lang/aiken" license = "Apache-2.0" authors = ["Lucas Rosa ", "Kasey White "] - +rust-version = "1.66.1" exclude = ["test_data/*"] -# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html - [dependencies] anyhow = "1.0.69" cryptoxide = "0.4.4"