-
Notifications
You must be signed in to change notification settings - Fork 68
Expand file tree
/
Copy pathCargo.toml
More file actions
104 lines (97 loc) · 3.23 KB
/
Copy pathCargo.toml
File metadata and controls
104 lines (97 loc) · 3.23 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
[package]
name = "stellar-tipjar-backend"
version = "0.1.0"
edition = "2021"
[[bin]]
name = "stellar-tipjar-backend"
path = "src/main.rs"
[dependencies]
axum = { version = "0.7", features = ["macros", "ws"] }
http-body-util = "0.1"
tokio = { version = "1", features = ["full"] }
sqlx = { version = "0.8", features = [
"runtime-tokio-rustls",
"postgres",
"uuid",
"chrono",
"rust_decimal",
] }
prometheus = "0.13"
lazy_static = "1.4"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
uuid = { version = "1", features = ["serde", "v4"] }
chrono = { version = "0.4", features = ["serde"] }
dotenvy = "0.15"
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter", "json"] }
tower-http = { version = "0.5", features = ["cors", "timeout", "trace", "compression-full", "request-id", "limit"] }
tower_governor = { version = "0.4", features = ["axum"] }
governor = "0.6"
redis = { version = "0.27", features = ["tokio-comp", "connection-manager"] }
reqwest = { version = "0.12", features = ["json"] }
thiserror = "1"
anyhow = "1"
validator = { version = "0.18", features = ["derive"] }
bcrypt = "0.15"
jsonwebtoken = "9"
regex = "1"
tera = "1"
lettre = { version = "0.11", default-features = false, features = ["tokio1-native-tls", "smtp-transport", "builder", "hostname", "pool"] }
csv = "1"
sha2 = "0.10"
hmac = "0.12"
hex = "0.4"
flate2 = "1"
base64 = "0.22"
ed25519-dalek = "1"
urlencoding = "2"
rust_decimal = "1"
aes-gcm = "0.10"
aead = "0.5"
utoipa = { version = "4", features = ["axum_extras", "chrono", "uuid"] }
totp-lite = "2"
rand = "0.8"
data-encoding = "2"
utoipa-swagger-ui = { version = "7", features = ["axum"] }
async-graphql = { version = "7", features = ["uuid", "chrono", "dataloader"] }
# Pinned to the last release still on axum 0.7 — 7.0.14+ require axum 0.8,
# which conflicts with our axum = "0.7" (same class of issue as the axum-test pin below).
async-graphql-axum = "=7.0.13"
tokio-stream = { version = "0.1", features = ["sync"] }
async-trait = "0.1"
tokio-cron-scheduler = "0.10"
lapin = "2"
futures-lite = "2"
printpdf = "0.7"
image = "0.25"
aws-config = { version = "1", features = ["behavior-version-latest"] }
aws-sdk-s3 = "1"
futures = "0.3"
# OpenTelemetry distributed tracing
opentelemetry = { version = "0.22", features = ["trace"] }
opentelemetry_sdk = { version = "0.22", features = ["rt-tokio", "trace"] }
opentelemetry-otlp = { version = "0.15", features = ["grpc-tonic", "trace"] }
opentelemetry-stdout = { version = "0.3", features = ["trace"] }
opentelemetry-semantic-conventions = "0.14"
tracing-opentelemetry = "0.23"
hostname = "0.4"
[dev-dependencies]
# Pinned to the last release compatible with `axum = "0.7"` (20.x+ requires axum 0.8, which
# conflicts with this crate's axum pin and breaks every axum-test-based test).
axum-test = { version = "=16.4.1", features = ["ws"] }
tokio = { version = "1", features = ["full", "test-util"] }
tower = "0.4"
httpmock = "0.7"
proptest = "1.4"
criterion = { version = "0.5", features = ["async_tokio"] }
# tarpaulin = "0.27" # not a library crate; use `cargo tarpaulin` CLI instead
[[bench]]
name = "keyset_pagination_bench"
harness = false
[[bench]]
name = "performance_benchmarks"
harness = false
[[bench]]
name = "tracing_overhead"
harness = false