add Makefile with clippy/rustfmt linting, fix all warnings

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Razvan Dimescu
2026-03-10 05:04:31 +02:00
parent 3816cf644d
commit 89e7cbd989
9 changed files with 143 additions and 39 deletions

20
Makefile Normal file
View File

@@ -0,0 +1,20 @@
.PHONY: all build lint fmt check test clean
all: lint build
build:
cargo build
lint: fmt check
fmt:
cargo fmt --check
check:
cargo clippy -- -D warnings
test:
cargo test
clean:
cargo clean