Files
benilla-octo/crates/benilla/Cargo.toml
T
SamandClaude Fable 5.1 00150c55b5 a crash leaves a report, and the wire's counts are capped
- a panic writes benilla-config/Diagnostics/crash-<time>.txt with the build id, the location, a backtrace and the last 200 log lines, and names the file as its last line, so a bug report can attach it (2266)
- every wire-count allocation hint is capped and the compressed update object reads through the cursor, so a malformed packet can no longer ask for gigabytes (2266)
- the 23 in-world run conditions are one set, the 45 probe variables one registry, the install-gated tests say when they skip, and every gate is timed (2266)
- one workspace-level lint allowance replaces 413 per-site attributes, and the decision corpus gets a lint in the gate (2266)

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-17 16:38:59 +07:00

37 lines
1.6 KiB
TOML

[package]
name = "benilla"
version.workspace = true
edition.workspace = true
license.workspace = true
description = "The launcher: build.rs stamps the git build id, main() hands it to benilla-app. A shim, so the stamp's every-commit rebuild dirties this package and not the app crate (decision 0993)"
[lints]
workspace = true
[features]
# The dev/player seam, forwarded (decisions 0026 + 1173): this shim is the binary a player would
# run, so `cargo build -p benilla --no-default-features` is the player build — and the gate.
default = ["dev"]
dev = ["benilla-app/dev"]
# Forwarded profiling switches, so `cargo run --features tracy -p benilla` keeps working.
tracy = ["benilla-app/tracy"]
trace_chrome = ["benilla-app/trace_chrome"]
[dependencies]
# `default-features = false` is LOAD-BEARING, not tidiness: without it `cargo build -p benilla
# --no-default-features` still builds the library with ITS defaults (a path dep gets its own),
# so the player-build gate would compile the full dev tree and pass no matter what. Measured on
# 1174's first green run — `cargo tree` listed bevy_egui either way. The `dev` feature above is
# what turns the instruments back on, and it is on by default here.
benilla-app = { path = "../benilla-app", default-features = false }
[build-dependencies]
benilla-buildstamp = { path = "../benilla-buildstamp" }
[[bin]]
name = "benilla"
path = "src/main.rs"
# No tests live here — and test-building this bin would relink the whole app in the test profile
# on every sha change, which is the exact tax the shim exists to kill (decision 0993).
test = false