forked from Octo-Protocol-org/Octo-Protocol
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
78 lines (71 loc) · 2.23 KB
/
Copy pathCargo.toml
File metadata and controls
78 lines (71 loc) · 2.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
[workspace]
resolver = "2"
members = [
"crates/crypto",
"crates/wallet-core",
"crates/store",
"crates/webhooks",
"crates/ingest",
"crates/api",
"crates/resilience",
"bin/server",
"bin/migrate-keys",
"bin/backfill-operation-index",
]
[workspace.package]
version = "0.1.0"
edition = "2021"
rust-version = "1.84"
license = "MIT"
repository = "https://github.com/octo/octo"
authors = ["octo contributors"]
# Shared, version-pinned dependencies (locked in Step 1 of the plan).
# Crates opt in with `foo = { workspace = true }`.
[workspace.dependencies]
# --- Stellar / crypto ---
stellar-strkey = "0.0.16"
stellar-base = "0.7.0"
slip10_ed25519 = "0.1.3"
tiny-bip39 = "2.0.0"
ed25519-dalek = "2.2.0"
aes-gcm = "0.10.3"
zeroize = { version = "1.8.2", features = ["derive"] }
hmac = "0.12.1"
hkdf = "0.12.4"
sha2 = "0.10.9"
hex = "0.4.3"
base64 = "0.22"
argon2 = "0.5"
# Note: the MSRV-aware resolver (.cargo/config.toml: incompatible-rust-versions = "fallback")
# keeps the whole tree on Rust-1.84-compatible versions, so no manual transitive pins are needed.
# --- async runtime / web ---
tokio = { version = "1", features = ["full"] }
axum = "0.7"
tower = "0.5"
tower-http = { version = "0.6", features = ["trace", "cors", "limit"] }
reqwest = { version = "0.12", default-features = false, features = ["json", "rustls-tls", "stream"] }
# --- persistence ---
sqlx = { version = "0.8", default-features = false, features = ["runtime-tokio", "tls-rustls", "postgres", "macros", "uuid", "chrono", "json", "migrate"] }
# --- serde / utility ---
serde = { version = "1", features = ["derive"] }
serde_json = "1"
uuid = { version = "1", features = ["v4", "serde"] }
chrono = { version = "0.4", features = ["serde"] }
thiserror = "1"
anyhow = "1"
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
rand = "0.8"
proptest = "1"
# --- internal crates ---
octo-crypto = { path = "crates/crypto" }
octo-wallet-core = { path = "crates/wallet-core" }
octo-store = { path = "crates/store" }
octo-webhooks = { path = "crates/webhooks" }
octo-ingest = { path = "crates/ingest" }
octo-api = { path = "crates/api" }
octo-resilience = { path = "crates/resilience" }
[profile.release]
lto = "thin"
codegen-units = 1
strip = true