Initial commit: Rampart v0.2.0
Multi-layer DDoS protection for Minecraft servers. - rampart-core: Edge node with XDP/eBPF + Rust L7 filtering - rampart-manager: REST API with JWT auth, Redis sync - rampart-cli: CLI tool for operators - velocity-plugin: Domain check, HMAC verify, server registry, load balancer - paper-plugin: Auto-registration, heartbeat, HMAC verify - dashboard: React + Vite web UI for management
This commit is contained in:
commit
cf9608ce5d
159 changed files with 15341 additions and 0 deletions
34
clippy.toml
Normal file
34
clippy.toml
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
# Rampart — Clippy configuration parameters
|
||||
# Lint levels (deny/warn/allow) are set in workspace Cargo.toml
|
||||
|
||||
# --- Пороги ---
|
||||
too-many-arguments-threshold = 7
|
||||
type-complexity-threshold = 10
|
||||
cognitive-complexity-threshold = 25
|
||||
large-error-threshold = 64
|
||||
future-size-threshold = 10240
|
||||
enum-variant-size-threshold = 200
|
||||
array-size-threshold = 512
|
||||
stack-size-threshold = 512000
|
||||
literal-representation-threshold = 120
|
||||
|
||||
# --- Разрешённое ---
|
||||
allow-expect-in-tests = true
|
||||
allow-unwrap-in-tests = true
|
||||
allow-dbg-in-tests = false
|
||||
allow-print-in-tests = false
|
||||
allow-panic-in-tests = false
|
||||
allow-one-hash-in-raw-strings = true
|
||||
|
||||
# --- Именование ---
|
||||
min-ident-chars-threshold = 1
|
||||
single-char-binding-names-threshold = 3
|
||||
upper-case-acronyms-aggressive = false
|
||||
|
||||
# --- Импорты ---
|
||||
enforced-import-renames = []
|
||||
absolute-paths-allowed-crates = ["crate", "self"]
|
||||
warn-on-all-wildcard-imports = true
|
||||
|
||||
# --- MSRV ---
|
||||
msrv = "1.85"
|
||||
Loading…
Add table
Add a link
Reference in a new issue