github-meta 0.11.0

https://api.github.com/meta as const structs
Documentation

github-meta

https://api.github.com/meta as const structs

Description

If the data from https://api.github.com/meta is used in a Rust program, it can be slow to fetch it every time. This crate provides the data as const structs, so it can be compiled into the program.

An hourly GitHub Actions workflow updates the data in this crate automatically and releases a new version of the crate if the data has changed.

Usage

fn main() {
    let meta = github_meta::META;
    println!("{meta:#?}");
    let secret_scanning = github_meta::SECRET_SCANNING;
    println!("{secret_scanning:#?}");
}

License

This project is licensed under either of

at your option.