codegenrs

Crates.iocodegenrs
lib.rscodegenrs
version3.0.2
sourcesrc
created_at2019-09-28 20:11:17.103279
updated_at2024-07-25 13:42:20.828275
descriptionMoving code-gen our of build.rs
homepage
repositoryhttps://github.com/crate-ci/codegenrs
max_upload_size
id168490
size26,467
Ed Page (epage)

documentation

https://docs.rs/codegenres

README

codegenrs

Moving code-gen out of our build.rs

codecov Documentation License Crates Status

About

codegenrs makes it easy to get rid of code-gen in build.rs, reducing build times for your crate and those that depend on it

This is done by:

  • Creating a child [[bin]] crate that does code-gen using codegenrs
  • Do one-time code-gen and commit it
  • Run the --check step in your CI to ensure your code-gen is neither out of date or been human edited.

Usage

imperative example:

Contribute

License

Licensed under either of

at your option.

Commit count: 119

cargo fmt