stemedb/Cargo.toml
jordan a776744889 Initial project setup with Claude Code monorepo structure
- Rust workspace with stemedb-core crate
- Full .claude/ configuration (agents, skills, commands, guides)
- ai-lookup/ for token-efficient fact storage
- Quality gates: clippy, fmt, jscpd duplication detection
- Pre-commit hook with 5-phase quality checks
- CLAUDE.md router and CODING_GUIDELINES.md standards

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-31 10:56:26 -07:00

46 lines
838 B
TOML

[workspace]
members = [
"crates/stemedb-core",
]
resolver = "2"
# Workspace-wide lint configuration
# Crates inherit via: [lints] workspace = true
[workspace.lints.rust]
# Dead code detection
dead_code = "warn"
unused_imports = "warn"
unused_variables = "warn"
unused_mut = "warn"
unreachable_code = "warn"
[workspace.lints.clippy]
# Complexity
cognitive_complexity = "warn"
too_many_arguments = "warn"
too_many_lines = "warn"
# Code quality
clone_on_ref_ptr = "warn"
redundant_clone = "warn"
unnecessary_wraps = "warn"
useless_let_if_seq = "warn"
# Safety (production code)
unwrap_used = "warn"
expect_used = "warn"
panic = "warn"
# Style
needless_return = "warn"
redundant_else = "warn"
match_bool = "warn"
# Deny these (errors, not warnings)
dbg_macro = "deny"
[profile.release]
lto = true
codegen-units = 1
panic = "abort"