Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,12 @@ homepage = "https://github.com/LyraCoreProject/LyraCore"
# either repository — so the whole workspace is publish-gated here rather than crate by crate.
publish = false

# A function above the threshold in `clippy.toml` no longer fits in one head. Existing warnings
# mark untouched long functions; changed code stays below the 200-line ceiling. Lower it as those
# functions shrink.
[workspace.lints.clippy]
too_many_lines = "warn"

[workspace.dependencies]
lyracore-shared = { path = "crates/lyracore-shared" }
lyracore-package-delta = { path = "crates/lyracore-package-delta" }
5 changes: 5 additions & 0 deletions clippy.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# `too_many_lines` (warn, workspace-wide) holds a ceiling rather than describing today's code: the
# default 100 fires on 140 pre-existing functions and buries every real finding. 200 is the size the
# split of the four longest production functions targeted, so only untouched code exceeds it. Lower
# it as those shrink.
too-many-lines-threshold = 200
3 changes: 3 additions & 0 deletions crates/lyracore-package-delta/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,6 @@ serde_json = "1"
[[bin]]
name = "lyracore-delta-check"
path = "src/bin/lyracore-delta-check.rs"

[lints]
workspace = true
3 changes: 3 additions & 0 deletions crates/lyracore-shared/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,6 @@ description = "LyraCore: protocol-agnostic constants and helpers shared by the S
# Intentionally NO external dependencies: this crate is consumed both by the wasm module
# and the native gateway, so it must stay portable and trivially compilable.
[dependencies]

[lints]
workspace = true
3 changes: 3 additions & 0 deletions gateway/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -71,3 +71,6 @@ dhat-heap = ["dep:dhat"]
# drift tripwire.
[target.'cfg(target_os = "linux")'.dev-dependencies]
lyracore-module = { path = "../module" }

[lints]
workspace = true
3 changes: 3 additions & 0 deletions importer/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,6 @@ wow_dbc = { version = "0.3", features = ["vanilla"] }
# Those types live in wow_world_base; wow_dbc 0.3 pins it to =0.2.0, so we depend on the SAME version
# (same type instance) to name the variants by hand. Pure parser, ships ZERO Blizzard data.
wow_world_base = { version = "=0.2.0", features = ["vanilla"] }

[lints]
workspace = true
Loading