Replaces the dual MIT/Apache-2.0 licensing (and its GPL carve-out) with a single GPL-2.0-only license for the whole repository: coherent with the kernel patch series it exists to carry, the embedded-Linux norm, and the stack's openness principle — anyone shipping products on this SDK publishes their changes. GPL-2.0 (not 3) deliberately: the Installation-Information clause of GPLv3 sits badly with WardenOS's signed A/B firmware chain. LICENSE is now the canonical GPLv2 text; crate manifests updated; inbound = outbound noted in the README. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018HUayid7W5w7jBdb9Rrj1K
27 lines
734 B
TOML
27 lines
734 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
|