diff --git a/Cargo.toml b/Cargo.toml index 9c49d73..4a92548 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,12 +1,12 @@ [package] name = "cache-macro" -version = "0.3.0" +version = "0.4.0" authors = ["Tyler Reisinger "] edition = "2018" -repository = "https://github.com/tylerreisinger/lru-cache-macro" -homepage = "https://github.com/tylerreisinger/lru-cache-macro" +repository = "https://github.com/tylerreisinger/cache-macro" +homepage = "https://github.com/tylerreisinger/cache-macro" readme = "README.md" -documentation = "https://docs.rs/lru-cache-macros" +documentation = "https://docs.rs/cache-macro" categories = ["caching"] keywords = ["lru", "procedural-macro", "cache", "memoization"] license = "MIT" @@ -32,4 +32,4 @@ expiring_map = "0.1.0" proc-macro = true [badges] -travis-ci = { repository = "tylerreisinger/lru-cache-macro", branch = "master" } +travis-ci = { repository = "tylerreisinger/cache-macro", branch = "master" } diff --git a/README.md b/README.md index f6d89a3..cbc0f8e 100644 --- a/README.md +++ b/README.md @@ -1,16 +1,18 @@ cache-macro ================ -[![Build Status](https://travis-ci.org/tylerreisinger/lru-cache-macro.svg?branch=master)](https://travis-ci.org/tylerreisinger/lru-cache-macro) -[![lru-cache-macros on docs.rs][docsrs-image]][docsrs] -[![lru-cache-macros on crates.io][crates-image]][crates] +[![Build Status](https://travis-ci.org/tylerreisinger/cache-macro.svg?branch=master)](https://travis-ci.org/tylerreisinger/cache_macro) +[![cache-macro on docs.rs][docsrs-image]][docsrs] +[![cache-macro on crates.io][crates-image]][crates] -[docsrs-image]: https://docs.rs/lru-cache-macros/badge.svg -[docsrs]: https://docs.rs/lru-cache-macros -[crates-image]: https://img.shields.io/crates/v/lru-cache-macros.svg -[crates]: https://crates.io/crates/lru-cache-macros/ +[docsrs-image]: https://docs.rs/cache-macro/badge.svg +[docsrs]: https://docs.rs/cache-macro +[crates-image]: https://img.shields.io/crates/v/cache-macro.svg +[crates]: https://crates.io/crates/cache-macro/ A procedural macro to automatically cache the result of a function given a set of inputs. +Previously named 'lru-cache-macros', but renamed to reflect the broadening of scope. + # Example: ```rust