# Generated by dev-system/ci # Cargo configuration for build and compilation settings [build] # Number of parallel jobs for compilation jobs = 4 target-dir = "/Volumes/Devel/ontoref/target" # 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.clippy] # Lint-only profile: no debug info, no codegen — clippy only needs MIR/HIR. # Used by pre-commit to avoid bloating target/debug with DWARF/dSYM artifacts. inherits = "dev" debug = 0 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 incremental = true [profile.ci-test] # Pre-commit profile: no debug info, no incremental. # Shared by rust-test and docs-links hooks so both reuse the same .rlib artifacts. # debug = 0 removes DWARF/dSYM — halves binary size without affecting correctness. inherits = "test" debug = 0 incremental = false [profile.ci] # CI pipeline profile: line-tables-only debug for useful backtraces on remote failures. # Distinct from ci-test (debug=0): CI failures must show file:line to be actionable. inherits = "test" debug = "line-tables-only" incremental = false [profile.bench] # Benchmark profile - same as release opt-level = 3 debug = false debug-assertions = false overflow-checks = false lto = "thin" codegen-units = 1 incremental = false [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" doc-json = "doc --no-deps -- -Z unstable-options --output-format json"