Skip to content

(WIP) A slightly cursed utility for converting GitHub's schema JSONs into Rust structs

Notifications You must be signed in to change notification settings

octocat-rs/schema-util

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

schema-util

test status Chat on Matrix Discord Server

About

A slightly cursed utility for converting GitHub's schema JSONs into Rust structs

Usage Example

# Converts test.json and writes the resulting struct to out.rs
schema-util -f test.json -o out.rs 

Arguments

USAGE:
    schema-util [OPTIONS] --file <FILE>

OPTIONS:
    -f, --file <FILE>        Name of the file to read
    -h, --help               Print help information
    -o, --output <OUTPUT>    Name of the file to write the struct to. If this is not set, the struct
                             will be printed to stdout
    -V, --version            Print version information

About

(WIP) A slightly cursed utility for converting GitHub's schema JSONs into Rust structs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages