#pre-commit-hooks #codegen #template

build facet-dev

Internal development utilities for Facet

1 unstable release

0.1.1 Jul 25, 2025

#184 in Template engine

MIT/Apache

25KB
523 lines

facet-dev

Coverage Status crates.io documentation MIT/Apache-2.0 licensed Discord

facet-dev runs as a pre-commit hook for most (all?) repositories under the https://github.com/facet-rs/ umbrella.

It:

  • Generates README.md from README.md.in
  • Sets up a base CI pipeline for Rust crates (see src/.github/workflows)
  • Sets up funding information
  • Sets up a pre-commit hook via cargo-husky that installs facet-dev and runs facet-dev generate

Since the pre-commit hook installs the latest facet-dev from git, and since updated files generated files are unconditionally staged at pre-commit time, if facet-dev gets updated in the middle of someone working on something, the changes might end up in an unrelated PR. Oh well.

Sponsors

Thanks to all individual sponsors:

Ko-fi GitHub Sponsors Patreon

...along with corporate sponsors:

AWS Zed Depot

...without whom this work could not exist.

Special thanks

The facet logo was drawn by Misiasart.

License

Licensed under either of:

at your option.

Dependencies

~340KB