Expand description
§Lexicon fetching and code generation binaries for Jacquard
This crate provides the tooling for fetching lexicon schemas from various sources and generating Rust code from them.
§Binaries
§lex-fetch
Downloads lexicons from configured sources and runs the code generation pipeline:
cargo run -p jacquard-lexgen --bin lex-fetchConfiguration lives in lexicons.kdl at the workspace root.
§jacquard-codegen
Runs code generation on a local directory of lexicons:
cargo run -p jacquard-lexgen --bin jacquard-codegen -- \
-i ./lexicons \
-o ./crates/jacquard-api/src§Modules
fetch- Ingests lexicons from git, atproto, http fetch, and other sourcescli- CLI argument parsing utilitiesschema_extraction- Extract lexicon schemas from Rust types via inventory (link-time discovery)schema_discovery- Discover schemas by scanning workspace source files (no linking required)
Re-exports§
Modules§
- cli
- fetch
- schema_
discovery - Workspace Schema Discovery
- schema_
extraction - Schema Extraction