spec-driven-docs 0.4.2

Spec-driven documentation: current specs, immutable decision records, and executable gates kept coherent for people and coding agents.
Documentation
//! Build script: embedded-asset change tracking only.
//!
//! `include_dir!` embeds at compile time but cargo does not watch a
//! directory for new or deleted files on its own; naming each embedded
//! root here makes any change under them rebuild the crate. The roots
//! come from `src/payload_roots.rs`, pasted in verbatim, so this script
//! and the binary cannot disagree about what the payload is. No code
//! generation happens.

include!("src/payload_roots.rs");

fn main() {
    for dir in PAYLOAD_ROOTS
        .iter()
        .copied()
        .chain(["LICENSE", "LICENSE-MIT", "LICENSE-CC-BY-4.0"])
    {
        println!("cargo:rerun-if-changed={dir}");
    }
    println!("cargo:rerun-if-changed=src/payload_roots.rs");
}