ocs_doc_api: spec<->wire consistency + append-only baseline tests

Add tests/spec_wire_consistency.rs: (a) every op/query name in spec/entities.toml
maps to an existing Operation/Query variant; (b) both enums are append-only
relative to a recorded variant-order baseline (bincode discriminant stability).
Adds toml to dev-dependencies. 3 tests green.
This commit is contained in:
Sebastian committed 2026-09-06 08:44:53 +02:00
1 parent c74504f30c
commit 1925a83a25
2 files changed
+171

No files matched your search

+1
View File
@@ -26,6 +26,7 @@ toml = "0.8"
[dev-dependencies]
serde_json = "1"
toml = "0.8"
acadrust = { git = "https://github.com/HakanSeven12/cadcodec.git", rev = "5b56571a190e7a17c8f12d36390d2938b0fb72f7", features = ["serde"] }
cadkernel = { git = "https://github.com/HakanSeven12/cadkernel.git", rev = "67f2427282d28922d9263e37b0136b6632e929b3", features = ["acis", "offset"] }