78 lines
1.5 KiB
TOML
78 lines
1.5 KiB
TOML
|
|
# Generated by dev-system/ci
|
||
|
|
# Cargo configuration for build and compilation settings
|
||
|
|
|
||
|
|
[build]
|
||
|
|
# Number of parallel jobs for compilation
|
||
|
|
jobs = 4
|
||
|
|
|
||
|
|
# Code generation backend
|
||
|
|
# codegen-backend = "llvm"
|
||
|
|
|
||
|
|
[profile.dev]
|
||
|
|
# Development profile - fast compilation, debug info
|
||
|
|
opt-level = 0
|
||
|
|
debug = true
|
||
|
|
debug-assertions = true
|
||
|
|
overflow-checks = true
|
||
|
|
lto = false
|
||
|
|
panic = "unwind"
|
||
|
|
incremental = true
|
||
|
|
|
||
|
|
[profile.release]
|
||
|
|
# Release profile - slow compilation, optimized binary
|
||
|
|
opt-level = 3
|
||
|
|
debug = false
|
||
|
|
debug-assertions = false
|
||
|
|
overflow-checks = false
|
||
|
|
lto = "thin"
|
||
|
|
codegen-units = 1
|
||
|
|
panic = "abort"
|
||
|
|
incremental = false
|
||
|
|
strip = false
|
||
|
|
|
||
|
|
[profile.test]
|
||
|
|
# Test profile - inherits from dev but can be optimized
|
||
|
|
opt-level = 1
|
||
|
|
debug = true
|
||
|
|
debug-assertions = true
|
||
|
|
overflow-checks = true
|
||
|
|
lto = false
|
||
|
|
panic = "unwind"
|
||
|
|
incremental = true
|
||
|
|
|
||
|
|
[profile.bench]
|
||
|
|
# Benchmark profile - same as release
|
||
|
|
opt-level = 3
|
||
|
|
debug = false
|
||
|
|
debug-assertions = false
|
||
|
|
overflow-checks = false
|
||
|
|
lto = "thin"
|
||
|
|
codegen-units = 1
|
||
|
|
panic = "abort"
|
||
|
|
incremental = false
|
||
|
|
|
||
|
|
# Resolver version
|
||
|
|
resolver = "2"
|
||
|
|
|
||
|
|
[term]
|
||
|
|
# Terminal colors
|
||
|
|
color = "auto"
|
||
|
|
verbose = false
|
||
|
|
progress.when = "auto"
|
||
|
|
progress.width = 80
|
||
|
|
|
||
|
|
[net]
|
||
|
|
# Network settings
|
||
|
|
git-fetch-with-cli = true
|
||
|
|
offline = false
|
||
|
|
|
||
|
|
# Strict version requirements for dependencies
|
||
|
|
# force-non-semver-pre = true
|
||
|
|
|
||
|
|
[alias]
|
||
|
|
# Custom cargo commands
|
||
|
|
build-all = "build --all-targets"
|
||
|
|
check-all = "check --all-targets --all-features"
|
||
|
|
test-all = "test --all-features --workspace"
|
||
|
|
doc-all = "doc --all-features --no-deps --open"
|