forked from StellarGateLabs/StellarGate
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
55 lines (50 loc) · 1.87 KB
/
Copy pathCargo.toml
File metadata and controls
55 lines (50 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
[package]
name = "stellargate"
version = "0.1.0"
edition = "2021"
rust-version = "1.88"
description = "A Rust toolkit for building on the Stellar blockchain"
repository = "https://github.com/StellarGateLabs/StellarGate"
license = "MIT"
keywords = ["stellar","blockchain","sdk","rpc"]
categories = ["network-programming", "command-line-utilities"]
# Application binary, not a library published to crates.io. `publish = false`
# lets cargo-deny skip it under `[licenses].private` rather than flagging the
# (intentionally unlicensed) workspace crate itself.
publish = false
[[bin]]
name = "stellargate"
path = "src/main.rs"
[dependencies]
axum = "0.7"
tokio = { version = "1", features = ["full"] }
tower-http = { version = "0.7", features = ["cors", "trace", "limit", "request-id", "timeout", "set-header"] }
governor = "0.7"
moka = { version = "0.12", features = ["sync"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
sqlx = { version = "0.8", features = ["sqlite", "runtime-tokio-rustls", "migrate"] }
uuid = { version = "1", features = ["v4"] }
reqwest = { version = "0.12", default-features = false, features = ["json", "stream", "rustls-tls"] }
futures-util = "0.3"
hmac = "0.13"
sha2 = "0.11"
hex = "0.4"
dotenvy = "0.15"
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
anyhow = "1"
time = { version = "0.3", features = ["parsing"] }
# API key generation. Uses the OS CSPRNG — a UUIDv4 is random but only carries
# 122 bits and encodes a version/variant, so it is the wrong primitive for a
# bearer credential.
rand = "0.9"
# CIDR parsing for TRUSTED_PROXY_CIDRS (X-Forwarded-For trust boundary).
ipnet = "2"
[dev-dependencies]
axum-test = "15"
tokio = { version = "1", features = ["full"] }
time = { version = "0.3", features = ["parsing"] }
wiremock = "0.6.5"
proptest = "1.5"
tracing-test = { version = "0.2", features = ["no-env-filter"] }