https://github.com/turbo87/github-meta
https://api.github.com/meta as const structs
https://github.com/turbo87/github-meta
Last synced: 5 months ago
JSON representation
https://api.github.com/meta as const structs
- Host: GitHub
- URL: https://github.com/turbo87/github-meta
- Owner: Turbo87
- Created: 2023-11-13T06:09:13.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-10-11T00:54:00.000Z (8 months ago)
- Last Synced: 2025-11-07T06:20:50.372Z (7 months ago)
- Language: Rust
- Homepage: https://crates.io/crates/github-meta
- Size: 134 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
github-meta
==============================================================================
as const structs
Description
------------------------------------------------------------------------------
If the data from 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
------------------------------------------------------------------------------
```rust
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
- Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or
)
- MIT license ([LICENSE-MIT](LICENSE-MIT) or
)
at your option.