#schemy

app schemy

Generates Rust types from Schema.org JSON-LD vocabulary

1 unstable release

Uses new Rust 2024

new 0.1.0 Apr 22, 2025

#125 in Procedural macros

Download history 53/week @ 2025-04-16

53 downloads per month

MIT license

265KB
772 lines

schemy

Generates Rust types from Schema.org JSON-LD vocabulary. You can download the JSON vocabulary definition files here.

Generates Rust types from Schema.org JSON-LD vocabulary.

Usage: schemy [OPTIONS]

Options:
  -i, --input-file <SCHEMA_FILE>  Path to the Schema.org JSON-LD input file [default: schema/schemaorg-current-https.jsonld]
  -o, --output-dir <OUTPUT_DIR>   Path to the output directory for the generated Rust crate source [default: schemaorg-rs/src]
  -h, --help                      Print help
  -V, --version                   Print version

Dependencies

~9–17MB
~216K SLoC