Import lru-cache-0.1.2 am: 891d7cdbb8 am: 4f24ea1bd1 am: e68cb32f2c

Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/lru-cache/+/1375176

Change-Id: I15faa574cf63b771715f71703358c06acef6309d
tree: 99a76e39cfb2b37a8a11406c34e4d3bd31ad7f10
  1. src/
  2. .cargo_vcs_info.json
  3. .gitignore
  4. .travis.yml
  5. Cargo.toml
  6. Cargo.toml.orig
  7. deploy-docs.sh
  8. LICENSE-APACHE
  9. LICENSE-MIT
  10. README.md
README.md

WARNING: THIS PROJECT IS IN MAINTENANCE MODE, DUE TO INSUFFICIENT MAINTAINER RESOURCES

It works fine, but will generally no longer be improved.

We are currently only accepting changes which:

  • keep this compiling with the latest versions of Rust or its dependencies.
  • have minimal review requirements, such as documentation changes (so not totally new APIs).

A cache that holds a limited number of key-value pairs.

Documentation is available at https://contain-rs.github.io/lru-cache/lru_cache.