Skip to content

Commit

Permalink
improve Cargo.toml and add rustfmt.toml and rust-toolchain.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
TheButlah committed Oct 10, 2024
1 parent 4dc1206 commit a9a5dbf
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/rust-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,3 @@ jobs:
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # [email protected]
- name: Run cargo format
runs: cargo fmt --all --check


4 changes: 3 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
[package]
name = "hyrax"
version = "0.1.0"
version = "0.0.0"
repository = "https://github.com/worldcoin/remainder-hyrax-tfh"
edition = "2021"
publish = false

[dependencies]
itertools = "0.11.0"
Expand Down
5 changes: 5 additions & 0 deletions rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -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"]
1 change: 1 addition & 0 deletions rustfmt.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Use default cargo settings

0 comments on commit a9a5dbf

Please sign in to comment.