Rust library for my services
- Rust 98.4%
- Just 1.2%
- Nix 0.3%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
All checks were successful
ci/woodpecker/push/verify Pipeline was successful
Co-authored-by: Renovate <renovate@martials.no> Reviewed-on: #8 |
||
| .woodpecker | ||
| crates | ||
| src | ||
| .gitignore | ||
| AGENTS.md | ||
| Cargo.lock | ||
| Cargo.toml | ||
| CODEOWNERS | ||
| flake.lock | ||
| flake.nix | ||
| justfile | ||
| LICENSE | ||
| README.md | ||
| renovate.json | ||
| rust-toolchain.toml | ||
| treefmt.nix | ||
my-rust-lib
Rust workspace library for personal services.
Crates
| Crate | Description |
|---|---|
my-rust-lib |
Workspace root (no deps, re-exports members) |
openapi-gen-build |
Build-time OpenAPI client codegen via openapi-generator-cli |
my-clients |
Generated clients for external service contracts |
Usage
Add openapi-gen-build as a build dependency and generate API clients from OpenAPI specs:
// build.rs
use openapi_gen_build::Config;
fn main() {
Config::new(std::env::var("OUT_DIR").unwrap().into())
.spec("specs/api.yaml", "my_api")
.generate()
.emit_rerun_if_changed();
}
License
MIT