Files
moli/moli-protocol-cdp/Cargo.toml
ldm0 c5d91d50d0 perf(cdp): compact protocol metadata at build time
Parse the vendored schema with serde_json::Value and serialize compact JSON
in build.rs. Embed the generated bytes without request-time processing.
Verify the embedded protocol matches the complete vendored schema.

Validation on the unchanged final source tree: cargo fmt --all;
cargo clippy --workspace --all-targets --all-features -- -D warnings;
cargo nextest run --no-fail-fast (20,505 passed, 18 existing skips).
2026-10-21 23:16:23 +08:00

18 lines
350 B
TOML

[package]
license.workspace = true
name = "moli-protocol-cdp"
version = "0.1.0"
edition = "2024"
[dependencies]
moli-page-types = { path = "../moli-page-types" }
moli-time = { path = "../moli-time" }
serde = { version = "1.0.228", features = ["derive"] }
serde_json = "1.0.145"
[build-dependencies]
serde_json = "1.0.145"
[lints]
workspace = true