Replace every em dash with real punctuation (rewrites, not hyphen swaps) in docs, code comments, scripts, configs, and the port records; convert en dashes, curly quotes, ellipsis glyphs, arrows, and section signs to ASCII; drop machine-writing tell phrases from living docs. ADR titles now use a colon. The M2 bring-up DTS model string carried an em dash into the patch series and its record echoes; fixed at both, and the full series re-verified to apply cleanly onto pristine 6.18.46. One comment in freshness.h deliberately names the em dash glyph the UI renders as the unknown mark; that is data, kept as prose naming it. Verified: cargo tests (sim, config-lint, rs485-bridge), shellcheck, both driver MC/DC harnesses, patches-apply.
27 lines
731 B
TOML
27 lines
731 B
TOML
[package]
|
|
name = "warden-rs485-bridge"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
description = "Bridges a QEMU serial chardev (unix socket) to the warden-sim Modbus RTU slave, so the VM guest's RS-485 master polls the same simulated field bus the unit tests do, fault injection included."
|
|
license = "GPL-2.0-only"
|
|
|
|
[lib]
|
|
name = "warden_rs485_bridge"
|
|
path = "src/lib.rs"
|
|
|
|
[[bin]]
|
|
name = "rs485-bridge"
|
|
path = "src/main.rs"
|
|
|
|
# Std-only on purpose: the sim crate it wraps is zero-dep, and unix sockets +
|
|
# read timeouts need nothing external.
|
|
[dependencies]
|
|
warden-sim = { path = "../../sim" }
|
|
|
|
[dev-dependencies]
|
|
|
|
# Dependency-free micro-benchmarks, same pattern as sim/benches/sim_bench.rs.
|
|
[[bench]]
|
|
name = "bridge_bench"
|
|
harness = false
|