Implemented crates/brokerd/src/config.rs: typed Paths, Sockets, Approvals and Config with serde(deny_unknown_fields, default) on every struct, hand-written ConfigError (Read/Parse) with Display and std::error::Error, and the parse/load/ broker_socket/admin_socket/audit_dir/state_dir methods. Added serde, serde_json and toml to crates/brokerd/Cargo.toml, registered pub mod config; in lib.rs, added brokerd to the serde and serde_json Used-by cells in docs/dependencies.md, and copied the given test and six fixtures byte-identical. 7 config tests pass; make gate prints gate: ok. Implemented-By: OpenCode session (model recorded in docs/implementer-log.md)
707 B
707 B
Dependencies
Every external crate has a row here. scripts/check-dep-docs.sh enforces it.
| Crate | Version | Used by | Why |
|---|---|---|---|
serde |
1.0.229 | proto, brokerd |
Derives serialization for every shared type. MIT OR Apache-2.0. |
serde_json |
1.0.151 | proto, brokerd |
JSON for frames and log files. MIT OR Apache-2.0. |
humantime |
2.4.0 | proto |
RFC 3339 timestamps. No dependencies of its own. MIT OR Apache-2.0. |
toml |
1.1.6 | proto tests; brokerd and bxctl from M3 |
Parses grant files. MIT OR Apache-2.0. |
emsha |
1.0.4 | proto |
SHA-256. Written by the owner; no dependencies, no unsafe. Checked against sha256sum on 3,204 inputs. |