vtcode-config 0.98.7

Config loader components shared across VT Code and downstream adopters
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
#[cfg(not(feature = "schema"))]
fn main() {
    eprintln!("The schema_dump example requires --features schema");
    std::process::exit(1);
}

#[cfg(feature = "schema")]
fn main() -> anyhow::Result<()> {
    let schema = vtcode_config::vtcode_config_schema_json()?;
    println!("{}", serde_json::to_string_pretty(&schema)?);
    Ok(())
}