mk_codec/test_vectors/mod.rs
1//! Canonical `mk` test-vector corpus.
2//!
3//! Single source of truth: any vector addition / removal happens here.
4//! Consumed by `mk-codec`'s own integration tests (`tests/vectors.rs`,
5//! `tests/error_coverage.rs`, `tests/round_trip.rs`) and re-exported to
6//! `mk-cli`'s `vectors` subcommand via the public API.
7//!
8//! Regenerated by `cargo run --bin gen_mk_vectors -- --output
9//! crates/mk-codec/src/test_vectors/v0.1.json`. The pinned SHA-256
10//! over the byte sequence lives at `tests/vectors.rs::VECTORS_V0_1_SHA256`.
11
12/// The canonical v0.1 test-vector corpus as a UTF-8 JSON string.
13///
14/// `include_str!`-baked at compile time. Consumers may parse via
15/// `serde_json::from_str` or `mk-cli`'s `vectors` subcommand emit.
16pub const V0_1_JSON: &str = include_str!("v0.1.json");