readme updates

This commit is contained in:
Aravinth Manivannan 2021-04-08 22:11:26 +05:30
parent 09e44c0e28
commit e65667fe4b
Signed by: realaravinth
GPG key ID: AD9F0F08E855ED88
2 changed files with 4 additions and 4 deletions

View file

@ -16,16 +16,16 @@
- [x] `SHA-256` based name generation during compile-time
- [x] Processes files based on provided MIME filters
- [ ] Exposes modified names to program during runtime
- [x] Exposes modified names to program during runtime
## Usage:
Add this to your `Cargo.toml`:
```toml
cache-buster = { version = "0.2", git = "https://github.com/realaravinth/cache-buster" }
cache-buster = { version = "0.1", git = "https://github.com/realaravinth/cache-buster" }
```
## Examples:
TODO
See [acix-example](./actix-example)

View file

@ -236,7 +236,7 @@ pub mod tests {
.unwrap();
config.init().unwrap();
let mut files = config.hash().unwrap();
let mut files = config.try_hash().unwrap();
for (k, v) in files.map.drain() {
let src = Path::new(&k);