semiont-codegen 0.6.10

Build-time generation from specs/: the bundled spec documents and the Rust types of their component schemas. A build dependency of semiont and semiont-core; no binary links it.
Documentation

semiont-codegen (Rust)

crates.io docs.rs CI License

The generator the Rust crates' build scripts share: specs/src bundled into whole documents, and Rust types generated from their component schemas. One generator, so the SDK's protocol types and a service's own types are never generated two ways. It knows the shapes the spec uses and refuses any other, so a new shape fails the build rather than generating something wrong.

The reference for every item is on docs.rs.

A build dependency only; no binary links it.

License

Apache-2.0. See LICENSE.