ploidy-codegen-rust 0.7.0

A Ploidy generator that emits Rust code
Documentation

ploidy-codegen-rust

This crate is part of the Ploidy OpenAPI code generator. It transforms ploidy-core types into Rust syntax trees, pretty-prints them, and saves the output to disk.

⚠️ The ploidy-codegen-rust API isn't stable yet.

One of the goals of this crate is to support usage from build scripts, as an alternative to the ploidy CLI. This can be useful if you're generating an OpenAPI client as part of a larger Rust project, and don't need the complete crate that the CLI generates.