-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
75 lines (64 loc) · 1.87 KB
/
Copy pathCargo.toml
File metadata and controls
75 lines (64 loc) · 1.87 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
[workspace]
members = ["engine", "keeper"]
resolver = "3"
[workspace.package]
version = "0.1.1"
edition = "2024"
authors = ["Pointgroup Team"]
repository = "https://github.com/pointgroup-labs/alula-liquidator"
readme = "./README.md"
license = "MIT"
publish = false
[workspace.lints.rust]
unsafe_code = "forbid"
unused_must_use = "deny"
[workspace.lints.clippy]
dbg_macro = "warn"
todo = "warn"
print_stdout = "warn"
print_stderr = "warn"
[workspace.dependencies]
# Stellar / Soroban
stellar-xdr = { version = "27", features = ["base64"] }
stellar-rpc-client = "27"
stellar-strkey = "0.0.18"
soroban-fixed-point-math = "1.0.0"
# Async runtime
tokio = { version = "1.52.3", features = ["rt-multi-thread", "macros"] }
tokio-stream = { version = "0.1.18", features = ["sync"] }
# Serialization & errors
serde = { version = "1.0.228", features = ["derive"] }
serde_json = "1.0.149"
config = { version = "0.15", default-features = false, features = ["toml", "json"] }
anyhow = "1.0.102"
thiserror = "2.0"
# Crypto / hashing
ed25519-dalek = "3.0.0"
sha2 = "0.11.0"
hex = "0.4.3"
# Storage / CLI / observability
rusqlite = { version = "0.40.1", features = ["bundled"] }
clap = { version = "4.6.1", features = ["derive", "env"] }
strum = { version = "0.28", features = ["derive"] }
tracing = "0.1.44"
tracing-subscriber = { version = "0.3.23", features = ["env-filter"] }
metrics = "0.24"
parking_lot = "0.12"
proptest = "1.11"
url = { version = "2.5.8", features = ["serde"] }
[profile.release]
panic = "abort"
lto = "thin"
codegen-units = 1
strip = "debuginfo"
# Trap on any raw-arithmetic overflow we haven't already wrapped in
# `checked_*` / `saturating_*`. A panic-abort here is preferable to silent
# wrapping in liquidation / profitability math.
overflow-checks = true
[profile.dev]
panic = "abort"
overflow-checks = true
[profile.release-debug]
inherits = "release"
strip = "none"
debug = "line-tables-only"