Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/unit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- uses: dtolnay/rust-toolchain@master
# Need to specify @master above to work with toolchain var
with:
toolchain: 1.83.0
toolchain: 1.86.0
- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
/target
.env

# macOS
.DS_Store
3 changes: 1 addition & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
[package]
name = "TODO"
version = "0.1.0"
edition = "2021"
edition = "2024"
license = "MIT"
# rust-version = "1.83"
exclude = [".github/"]
repository = "TODO"

Expand Down
23 changes: 23 additions & 0 deletions justfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
set shell := ["bash", "-cu"]
set dotenv-load := true

# display a help message about available commands
default:
@just --list --unsorted


# run all recipes required to pass CI workflows
ci:
@just fmt lint test

# run unit tests
test:
cargo nextest run --workspace -E "kind(lib) | kind(bin) | kind(proc-macro)"

# run collection of clippy lints
lint:
RUSTFLAGS="-D warnings" cargo clippy --examples --tests --benches --all-features --locked

# format the code using the nightly rustfmt (as we use some nightly lints)
fmt:
cargo +nightly fmt --all
2 changes: 1 addition & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[toolchain]
channel = "stable"
version = "1.83.0"
version = "1.86.0"