mirror of
https://github.com/storytold/gridcraft.git
synced 2026-11-10 04:19:48 -06:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2b7bd0c315 |
+3
-1
@@ -67,9 +67,11 @@ craft-window = { version = "0.1.0", git = "https://github.com/storytold/craft-li
|
|||||||
unsafe_code = "forbid"
|
unsafe_code = "forbid"
|
||||||
|
|
||||||
[workspace.lints.clippy]
|
[workspace.lints.clippy]
|
||||||
|
cognitive_complexity = "deny"
|
||||||
|
too_many_arguments = "deny"
|
||||||
|
wildcard_imports = "deny"
|
||||||
dbg_macro = "warn"
|
dbg_macro = "warn"
|
||||||
todo = "warn"
|
todo = "warn"
|
||||||
too_many_arguments = "allow"
|
|
||||||
type_complexity = "allow"
|
type_complexity = "allow"
|
||||||
|
|
||||||
[profile.dev.package."*"]
|
[profile.dev.package."*"]
|
||||||
|
|||||||
@@ -10,3 +10,4 @@ disallowed-methods = [
|
|||||||
{ path = "std::time::Instant::now", reason = "traps on wasm; read the clock only off wasm" },
|
{ path = "std::time::Instant::now", reason = "traps on wasm; read the clock only off wasm" },
|
||||||
{ path = "std::time::SystemTime::now", reason = "traps on wasm; read the clock only off wasm" },
|
{ path = "std::time::SystemTime::now", reason = "traps on wasm; read the clock only off wasm" },
|
||||||
]
|
]
|
||||||
|
cognitive-complexity-threshold = 30
|
||||||
|
|||||||
Reference in New Issue
Block a user