-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
44 lines (41 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
41
42
43
44
[package]
name = "store"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features]
default = ["astra"]
cassandra = ["dep:cassandra-cpp"]
redis = []
astra = ["stargate-grpc"]
replicate = ["astra"]
[dependencies]
tokio = { version = "1", features = ["full"] }
time = { version = "0.3.36", features = ["serde"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
rand = "0.8.5"
cassandra-cpp = { version="3.0.2", optional = true }
anyhow = "1.0.86"
axum = "0.7.5"
dyn-clone = {version = "*"}
fred = "9.0.3"
async-trait = {version = "*"}
futures = "*"
metrics = { version = "0.22", default-features = false }
metrics-exporter-prometheus = { version = "0.13", default-features = false }
charybdis = {version = "=0.7.5"}
scylla = { version = "0.13.1", features = ["full-serialization"] }
chrono = {version = "*"}
tower = "0.5"
tower-http = { version = "0.5", features = ["trace"] }
hyper = "1.4.1"
tracing = "0.1.40"
stargate-grpc = {version = "0.3", optional = true}
bb8 = {version = "*"}
reqwest = {version = "*"}
[profile.release]
strip = false
lto = true
codegen-units = 1
debug = 1