-
Notifications
You must be signed in to change notification settings - Fork 2
/
Cargo.toml
28 lines (23 loc) · 883 Bytes
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
[package]
name = "cache_loader_async"
description = "A thread safe loading cache with async loader functions based on tokio"
repository = "https://github.com/ZeroTwo-Bot/cache-loader-async-rs"
version = "0.2.1"
authors = ["Alexander Becker <[email protected]>", "Spencer Sharkey <[email protected]>"]
edition = "2018"
keywords = ["cache", "async"]
categories = ["asynchronous", "caching"]
license = "Apache-2.0"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
tokio = { version = "~1", features = ["macros", "rt-multi-thread", "sync", "time"] }
futures = "0.3.14"
thiserror = "1.0"
# Optional feature based dependencies
lru = { version = "0.7.8", optional = true }
[dev-dependencies]
cache_loader_async_macros = { path = "./cache-loader-async-macros" }
[features]
default = []
lru-cache = ["lru"]
ttl-cache = []