Build-time converter reads content YAML and emits RON format. Lives in tooling/content-converter/ as standalone Rust crate. Runs via make content-ron. Supports --dry-run, --verbose, --content-type filtering. Not on critical path — engine consumes YAML in v0.1, RON is future- proofing for runtime performance. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
18 lines
407 B
TOML
18 lines
407 B
TOML
[package]
|
|
name = "content-converter"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
description = "Build-time converter: reads content YAML, emits RON for faster runtime deserialization."
|
|
|
|
[[bin]]
|
|
name = "content-converter"
|
|
path = "src/main.rs"
|
|
|
|
[dependencies]
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_yaml = "0.9"
|
|
ron = "0.8"
|
|
clap = { version = "4", features = ["derive"] }
|
|
walkdir = "2"
|
|
thiserror = "2"
|