diff --git a/README.md b/README.md index 72a38df..373b776 100644 --- a/README.md +++ b/README.md @@ -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) diff --git a/src/hash.rs b/src/hash.rs index 3158666..6253e11 100644 --- a/src/hash.rs +++ b/src/hash.rs @@ -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);