-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathCargo.toml
More file actions
122 lines (109 loc) · 3.47 KB
/
Copy pathCargo.toml
File metadata and controls
122 lines (109 loc) · 3.47 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
[package]
name = "stellar-insights-backend"
version = "0.1.0"
edition = "2021"
default-run = "stellar-insights-backend"
# Clippy linting configuration
[lints.clippy]
# Enable baseline clippy warnings.
all = { level = "warn", priority = -1 }
# Keep stricter lint tiers opt-in for this legacy codebase.
pedantic = { level = "allow", priority = -1 }
nursery = { level = "allow", priority = -1 }
# Allow some pedantic lints that are too strict for this codebase
module_name_repetitions = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
too_many_arguments = "allow"
type_complexity = "allow"
manual_clamp = "allow"
should_implement_trait = "allow"
derivable_impls = "allow"
large_enum_variant = "allow"
items_after_test_module = "allow"
module_inception = "allow"
# Panic prevention lints - enforce proper error handling
unwrap_used = "warn"
expect_used = "warn"
panic = "warn"
[features]
legacy_sep10_tests = []
[dependencies]
tokio = { version = "1", features = ["full"] }
axum = { version = "0.7", features = ["ws"] }
http-body-util = "0.1"
tower = { version = "0.4", features = ["util", "timeout"] }
tower-http = { version = "0.7", features = ["cors", "compression-gzip", "compression-br", "decompression-gzip", "decompression-br", "trace", "timeout"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
validator = { version = "0.20", features = ["derive"] }
sqlx = { version = "0.8", features = ["runtime-tokio-rustls", "sqlite", "chrono", "uuid", "macros"] }
log = "0.4"
chrono = { version = "0.4", features = ["serde"] }
uuid = { version = "1.0", features = ["v4", "serde"] }
reqwest = { version = "0.13", features = ["json"] }
anyhow = "1.0"
async-trait = "0.1"
thiserror = "1.0"
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter", "json"] }
tracing-log = "0.2"
tracing-appender = "0.2"
tracing-logstash = "0.7"
opentelemetry = { version = "0.27", features = ["trace"] }
opentelemetry_sdk = { version = "0.27", features = ["trace", "rt-tokio"] }
opentelemetry-otlp = { version = "0.27", default-features = false, features = ["trace", "http-proto", "reqwest-client"] }
tracing-opentelemetry = "0.28"
dotenvy = "0.15"
sha2 = "0.11"
md5 = "0.7"
hex = "0.4"
ndarray = "0.17"
rand = "0.8"
redis = { version = "1.2", features = ["aio", "tokio-comp", "connection-manager"] }
async-lock = "3.3"
futures = "0.3"
tokio-tungstenite = "0.29"
dashmap = "6.2"
stellar-xdr = { version = "25.0.0", features = ["std", "curr"] }
stellar_sdk = "0.1"
base64 = "0.22"
ed25519-dalek = "2.1"
jsonwebtoken = "10.4"
utoipa = { version = "4.2", features = ["axum_extras", "chrono", "uuid"] }
utoipa-swagger-ui = { version = "9.0", features = ["axum"] }
urlencoding = "2.1"
toml = "1.0"
prometheus = "0.14"
regex = "1.5"
once_cell = "1.19"
ipnetwork = "0.20"
argon2 = "0.5.3"
url = "2.5"
aes-gcm = "0.10"
lettre = "0.11"
hmac = "0.13"
data-encoding = "2.5"
lazy_static = "1.4"
csv = "1.4"
rust_xlsxwriter = { version = "0.95", features = ["chrono", "serde"] }
failsafe = { version = "1.3", features = ["futures-support"] }
async-graphql = "7.0"
async-graphql-axum = "7.0"
# [dependencies.stellar-insights-apm]
# path = "apm"
# optional = true
[dev-dependencies]
urlencoding = "=2.1.3"
tempfile = "=3.27.0"
criterion = { version = "=0.8.2", features = ["async_tokio"] }
tokio = { version = "=1.49.0", features = ["full", "test-util"] }
[[bench]]
name = "corridor_benchmarks"
harness = false
[[bench]]
name = "cache_benchmarks"
harness = false
[[bench]]
name = "database_benchmarks"
harness = false