readme updates
This commit is contained in:
parent
09e44c0e28
commit
e65667fe4b
2 changed files with 4 additions and 4 deletions
|
@ -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)
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue