1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# Makefile
:
: CARGO_CMD=
# ----------------------------------------------------------------------------------------------------------------------
# Configuration
# ----------------------------------------------------------------------------------------------------------------------
# ----------------------------------------------------------------------------------------------------------------------
# Targets
# ----------------------------------------------------------------------------------------------------------------------
# Default target (ensures formatting before building)
: ## Build the project in release mode (runs fmt first)# Full release process (ensures everything runs in the correct order)
: ## Perform a full release (fmt, check, clippy, build, test, doc)
# Format the code
: ## Format the code using cargo fmt# Check for errors without building
: ## Run cargo check to analyze the code without compiling# Strict linter, fails on warning and suggests fixes
: ## Checks a package to catch common mistakes and improve your Rust code# Run tests
: ## Run tests using cargo test# Generate documentation
: ## Generate project documentation using cargo doc# Publish to crates.io
: ## Publish the crate to crates.io# Clean build artifacts
: ## Remove build artifacts using cargo clean# Show all available tasks
: ## Show this help message