Skip to content

API reference (docs.rs)

The Rust API reference is generated per release and hosted on docs.rs — the canonical, versioned home for every published crate. We don’t duplicate rustdoc on this site; these links are always current with the latest release.

CrateAPI docsWhat it is
yuzu-coredocs.rs/yuzu-corePure, I/O-free backtest engine core. run_backtest(spec_json, ctx, price_key, cfg) -> Report.
lemon-langdocs.rs/lemon-langThe lemon strategy DSL. parse(src) -> Value, format(&value) -> String.
yuzu-datadocs.rs/yuzu-dataNative I/O: gzip CSV / Parquet price & fundamental files → panels.
yuzu-source-s3docs.rs/yuzu-source-s3S3-compatible ObjectSource for yuzu-data.

The wasm, cli, and server crates are not published to crates.io — they are application boundaries, not public library API. Read their source in the repository.

Machine-readable schemas

For tool-use and structured generation, two artifacts in the repo describe the language precisely: