typstyle 0.12.2

Beautiful and reliable typst code formatter
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use anyhow::Result;
use vergen::EmitBuilder;

fn main() -> Result<()> {
    // Emit the instructions
    let mut builder = EmitBuilder::builder();

    builder.all_cargo().build_timestamp().all_rustc();

    #[cfg(feature = "git-info")]
    builder.git_sha(false).git_describe(true, true, None);

    builder.emit()?;
    Ok(())
}