Skip to content
forked from crate-ci/codegenrs

Moving code-gen our of `build.rs`

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

epage/codegenrs

 
 

Repository files navigation

codegenrs

Moving code-gen out of our build.rs

Build Status 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:

License

Licensed under either of

at your option.

About

Moving code-gen our of `build.rs`

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • Rust 100.0%