mitex_spec_gen/lib.rs
1//! Provides embedded command specifications for MiTeX.
2
3use mitex_spec::CommandSpec;
4
5/// The default command specification.
6///
7/// See [Reproducing Default Command Specification][repro-default] for more
8/// information.
9///
10/// [repro-default]: https://github.com/mitex-rs/artifacts/blob/main/README.md#default-command-specification-since-v011
11pub static DEFAULT_SPEC: once_cell::sync::Lazy<CommandSpec> = once_cell::sync::Lazy::new(|| {
12 CommandSpec::from_bytes(include_bytes!(concat!(
13 env!("OUT_DIR"),
14 "/mitex-artifacts/spec/default.rkyv"
15 )))
16});