-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
144 lines (127 loc) · 3.24 KB
/
Copy pathCargo.toml
File metadata and controls
144 lines (127 loc) · 3.24 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
[package]
name = "apex-store-rs"
version = "2.2.7"
edition = "2021"
authors = ["Elio Neto <netoo.elio@hotmail.com>"]
license = "MIT"
repository = "https://github.com/ElioNeto/ApexStore"
homepage = "https://github.com/ElioNeto/ApexStore"
documentation = "https://elioneto.github.io/ApexStore/"
readme = "README.md"
description = "A high-performance, embedded LSM-tree storage engine with SSTable V2 format, LZ4 compression, and Bloom Filters."
keywords = ["database", "lsm-tree", "key-value", "storage-engine", "embedded"]
categories = ["database-implementations", "data-structures"]
exclude = [
"data/*",
"target/*",
"*.sst",
"*.log",
".env",
"docs/assets/*"
]
[[bin]]
name = "apexstore-server"
path = "src/bin/server.rs"
[[bin]]
name = "apexstore-cli"
path = "src/bin/cli.rs"
[[bin]]
name = "apexstore-tui"
path = "src/bin/tui.rs"
[lib]
name = "apexstore"
path = "src/lib.rs"
[features]
default = ["api"]
api = []
chaos = []
wasm = ["dep:wasmtime"]
[dependencies]
wasmtime = { version = "44", optional = true }
bloomfilter = "3.0"
crc32fast = "1.4"
postcard = { version = "1.0", features = ["alloc"] }
lz4_flex = "0.11.6" # fix RUSTSEC-2026-0041 (was 0.11.5)
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
thiserror = "1.0"
twox-hash = "2.1"
moka = { version = "0.12", features = ["sync"] }
rayon = "1.11"
uuid = { version = "1.22", features = ["v4", "serde"] }
actix-web = { version = "4.12", features = ["rustls"] }
actix-http = "3"
rustls = "0.20"
rustls-pemfile = "1"
actix-rt = "2.11"
actix-cors = "0.7"
actix-web-httpauth = "0.8"
async-graphql = "7"
async-graphql-actix-web = "7"
tokio = { version = "1.49", features = ["full"] }
dotenvy = "0.15"
sha2 = "0.10"
base64 = "0.22"
parking_lot = "0.12"
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
tracing-opentelemetry = "0.24"
opentelemetry = "0.23"
opentelemetry_sdk = { version = "0.23", features = ["rt-tokio"] }
opentelemetry-otlp = { version = "0.16", features = ["trace", "metrics", "grpc-tonic"] }
rand = "0.8"
fs2 = "0.4"
# TUI dependencies
ratatui = "0.29"
crossterm = { version = "0.28", features = ["event-stream"] }
chrono = { version = "0.4", features = ["serde"] }
tui-input = "0.10"
clap = { version = "4.5", features = ["derive"] }
bytes = "1.11.1" # fix RUSTSEC-2026-0007 (integer overflow in BytesMut::reserve)
time = "0.3.47" # fix RUSTSEC-2026-0009 (DoS via stack exhaustion)
aes-gcm = "0.10"
hex = "0.4"
memmap2 = "0.9"
csv = "1.3"
reqwest = { version = "0.12", default-features = false, features = ["json", "rustls-tls"] }
ureq = "2.12"
sqlparser = "0.45"
jsonschema = "0.18"
actix-ws = "0.3"
dashmap = "6"
regex-lite = "0.1"
futures = "0.3"
tempfile = "3.24"
[dev-dependencies]
criterion = { version = "0.5", features = ["html_reports"] }
fail = "0.4"
futures = "0.3"
proptest = "1.6"
[profile.release]
opt-level = 3
lto = true
codegen-units = 1
panic = "abort"
[[bench]]
name = "write_bench"
harness = false
[[bench]]
name = "read_bench"
harness = false
[[bench]]
name = "mixed_bench"
harness = false
[[bench]]
name = "scan_bench"
harness = false
[[bench]]
name = "stress_bench"
harness = false
[[bench]]
name = "write_amplification"
harness = false
[[bench]]
name = "latency_bench"
harness = false
[profile.bench]
inherits = "release"