Herb Rust Bindings
Rust bindings for Herb - Powerful and seamless HTML-aware ERB parsing and tooling.
Building
Prerequisites
- Rust toolchain
- Bundler with Prism gem installed in the parent directory
Build
Usage
CLI (within the Herb repo)
As a Library
use ;
Testing
Publishing
Before publishing to crates.io, vendor the C sources:
The vendor/ directory is gitignored to avoid committing duplicate files. The make vendor task copies C sources from the parent directory into vendor/libherb and vendor/prism so the published crate is self-contained.
Cleaning