A library to generate change detection instructions during build time
Legal
Dual-licensed under MIT or the UNLICENSE.
Features
Automates task of generating change detection instructions for your static files.
https://doc.rust-lang.org/cargo/reference/build-scripts.html#change-detection
Usage
Add dependency to Cargo.toml:
[]
= "1.0"
Add a call to build.rs:
use ChangeDetection;
This is basically the same, as just write:
You can also use a directory. For example, if your resources are in static directory:
use ChangeDetection;
One call to generate can have multiple path components:
use ChangeDetection;