feat: Add workspace-level linting rules and cargo-audit configuration

- Add cargo-audit metadata section with placeholder for ignored advisories
- Forbid unsafe_code at workspace level
- Enable all and pedantic clippy warnings
- Deny unwrap_used, expect_used, and panic to enforce error handling
- Add thiserror dependency to charging-engine for improved error handling
This commit is contained in:
nutcas3
2026-04-29 04:21:33 +03:00
parent 609bdb16fa
commit b3ff568bd4
2 changed files with 15 additions and 0 deletions
+1
View File
@@ -25,6 +25,7 @@ serde_json = { workspace = true }
tracing = { workspace = true }
tracing-subscriber = { workspace = true }
anyhow = { workspace = true }
thiserror = "2.0.18"
dotenv = { workspace = true }
uuid = { workspace = true }
jsonwebtoken = "10.3.0"