-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
46 lines (39 loc) · 1.41 KB
/
Copy pathCargo.toml
File metadata and controls
46 lines (39 loc) · 1.41 KB
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
41
42
43
44
45
46
[package]
name = "matrixcache"
version = "0.1.0"
edition = "2021"
rust-version = "1.88"
license = "Apache-2.0"
description = "Rust-native multi-tier cache library with in-memory, persistent-memory, and RocksDB-backed SSD tiers."
repository = "https://github.com/matrixarkai/MatrixCache"
homepage = "https://github.com/matrixarkai/MatrixCache"
documentation = "https://docs.rs/matrixcache"
readme = "README.md"
keywords = ["cache", "multi-tier", "rocksdb", "ssd", "temporalstore"]
categories = ["caching", "data-structures"]
exclude = ["/.github"]
[features]
default = ["rocksdb-ssd"]
rocksdb-ssd = ["dep:rocksdb"]
[dependencies]
serde = { version = "1", features = ["derive"] }
thiserror = "2"
zstd = "0.13"
rocksdb = { version = "0.25", default-features = false, optional = true }
[dev-dependencies]
tempfile = "=3.27.0"
[package.metadata.docs.rs]
all-features = true
[lints.rust]
unsafe_code = "forbid"
[lints.clippy]
# `if x == 0 { 0 } else { total / x }` guards and explicit alias branches that fall
# through to the same default are kept for readability; the checked-ops and
# merged-branch rewrites clippy suggests do not improve clarity here.
manual_checked_ops = "allow"
if_same_then_else = "allow"
# Type names spell an acronym as an ordinary word (`Ssd`, not `SSD`). The
# pre-rename spellings live behind an allow in `src/core/legacy_names.rs`.
upper_case_acronyms = "warn"
[lints.rustdoc]
broken_intra_doc_links = "deny"