-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathCargo.toml
40 lines (35 loc) · 1.16 KB
/
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
29
30
31
32
33
34
35
36
37
38
39
40
[package]
name = "freqfs"
version = "0.10.0"
authors = ["code@tinychain.net"]
edition = "2021"
license = "Apache-2.0"
description = "An in-memory filesystem cache layer over tokio::fs, with LFU eviction"
repository = "https://github.com/haydnv/freqfs"
readme = "README.md"
categories = ["caching", "filesystem", "memory-management"]
keywords = ["file", "io", "cache"]
[[example]]
name = "example"
required-features = ["stream"]
[features]
all = ["id", "logging", "stream"]
id = ["hr-id"]
logging = ["log"]
stream = ["bytes", "destream", "tbon", "tokio-util"]
[dependencies]
async-trait = "0.1"
bytes = { version = "1.7", optional = true }
destream = { version = "0.8", optional = true }
ds-ext = "0.2"
futures = "0.3"
hr-id = { version = "0.6", optional = true }
log = { version = "0.4", optional = true }
safecast = "0.2"
tbon = { version = "0.6", features = ["tokio-io"], optional = true }
tokio = { version = "1.39", features = ["fs", "io-util", "rt-multi-thread", "sync", "time"] }
tokio-util = { version = "0.7", features = ["io"], optional = true }
uuid = { version = "1.10", features = ["v4"] }
[dev-dependencies]
rand = "0.8"
tokio = { version = "1.39", features = ["macros"] }