Crates.io | fn-memo |
lib.rs | fn-memo |
version | 1.2.0 |
source | src |
created_at | 2019-01-27 14:00:06.680429 |
updated_at | 2019-08-15 03:04:37.444032 |
description | A library for creating the memoization of a function. |
homepage | https://crates.io/crates/fn-memo |
repository | https://github.com/Jason5Lee/rust-fn-memo |
max_upload_size | |
id | 110929 |
size | 42,909 |
A Rust library for creating the memoization of a function.
Documentation: API reference
Add the following dependency to your Cargo.toml
:
[dependencies]
fn-memo = "1.2"
By default fn-memo
includes synchronized APIs, which introduces related dependencies.
If you only use the memoization in one thread and want to reduce dependencies, use following configuration.
[dependencies]
fn-memo = { version = "1.2", default-features = false }