citum-schema-style
Schema types for Citum styles — declarative, type-safe successors to CSL 1.0. Defines the Rust models for style metadata, citation templates, bibliography layouts, locale terms, sort keys, and the embedded asset catalog that ships with the binary.
This crate also bundles a curated set of embedded styles and locales
(APA 7th, Chicago 18th, IEEE, Modern Language Association, etc.) baked
into the binary via include_bytes!, so the CLI can render citations
without an external style file. Embedded files live under
embedded/.
Usage
use Style;
let yaml = read_to_string?;
let style: Style = from_str?;
println!;
Resolve a builtin by name:
use get_embedded_style;
let apa = get_embedded_style.expect?;
Project
Part of Citum, a modern citation engine in Rust.
License
Dual-licensed under MIT or Apache-2.0 at your option. Embedded styles retain their original CC BY-SA 3.0 license.