From 8573fb330c8a56f0a473d5873ee37f515b20bec5 Mon Sep 17 00:00:00 2001 From: Ryan Butler Date: Thu, 10 Oct 2024 18:22:51 -0400 Subject: [PATCH] improve Cargo.toml and add rustfmt.toml and rust-toolchain.toml --- Cargo.toml | 5 ++++- rust-toolchain.toml | 5 +++++ rustfmt.toml | 1 + 3 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 rust-toolchain.toml create mode 100644 rustfmt.toml diff --git a/Cargo.toml b/Cargo.toml index 87a3759..1ce0761 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,10 @@ [package] name = "hyrax" -version = "0.1.0" +version = "0.0.0" +repository = "https://github.com/worldcoin/remainder-hyrax-tfh" +rust-version = "1.81.0" # See rust-toolchain.toml edition = "2021" +publish = false [dependencies] itertools = "0.11.0" diff --git a/rust-toolchain.toml b/rust-toolchain.toml new file mode 100644 index 0000000..f075664 --- /dev/null +++ b/rust-toolchain.toml @@ -0,0 +1,5 @@ +[toolchain] +channel = "1.81.0" # See Cargo.toml +targets = ["aarch64-unknown-linux-gnu", "x86_64-unknown-linux-gnu"] +profile = "minimal" +components = ["clippy", "llvm-tools-preview", "rustfmt", "rust-src", "rust-analyzer"] diff --git a/rustfmt.toml b/rustfmt.toml new file mode 100644 index 0000000..d1a7fbe --- /dev/null +++ b/rustfmt.toml @@ -0,0 +1 @@ +# Use default cargo settings