forked from Lumen-Scribe/Lumenqraph
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
80 lines (76 loc) · 2.55 KB
/
Copy pathCargo.toml
File metadata and controls
80 lines (76 loc) · 2.55 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
[workspace]
resolver = "2"
members = [
"crates/lumenqraph-core",
"crates/lumenqraph-indexer",
"crates/lumenqraph-api",
"crates/lumenqraph-webhooks",
"crates/lumenqraph-mcp",
]
[workspace.package]
version = "0.1.0"
edition = "2021"
rust-version = "1.75"
license = "MIT"
repository = "https://github.com/Lumen-Scribe/Lumenqraph"
# Shared dependency versions — pinned once, referenced by each crate with
# `<dep>.workspace = true` so the indexer (writer) and api (reader) never drift.
[workspace.dependencies]
lumenqraph-core = { path = "crates/lumenqraph-core" }
tokio = { version = "1", features = ["full"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
chrono = { version = "0.4", features = ["serde"] }
thiserror = "1"
anyhow = "1"
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
dotenvy = "0.15"
sqlx = { version = "0.8", default-features = false, features = [
"runtime-tokio-rustls",
"postgres",
"chrono",
"macros",
"json",
"migrate",
"uuid",
] }
uuid = { version = "1", features = ["v4", "serde"] }
rand = "0.8"
sha2 = "0.10"
hmac = "0.12"
hex = "0.4"
subtle = "2"
futures = "0.3"
reqwest = { version = "0.12", default-features = false, features = [
"json",
"rustls-tls",
] }
url = "2"
axum = "0.7"
tower = "0.5"
tower-http = { version = "0.5", features = ["trace", "cors", "fs", "set-header", "compression-gzip", "compression-br", "timeout"] }
# Constrained to the async-graphql 7.0.x releases that still target axum 0.7:
# 7.0.11 switched to axum 0.8, which would clash with the rest of the stack
# (`axum = "0.7"`, `tower-http = "0.5"`, and the utoipa axum integrations).
#
# A `>=` / `<` range rather than an exact `=` pin so patch-level fixes in the
# 7.0.7..7.0.10 window (bug/security) are still picked up automatically, while
# the axum-0.8 bump stays gated. Lifting the `<7.0.11` ceiling is the
# async-graphql side of migrating the whole workspace to axum 0.8 and should be
# done together with it (tracked separately).
async-graphql = { version = ">=7.0.7, <7.0.11", features = ["chrono"] }
async-graphql-axum = ">=7.0.7, <7.0.11"
# Canonical Stellar XDR types. Used ONLY on the cold, once-per-contract spec /
# ledger-entry path (parsing a contract's on-chain interface). The hot event
# decode path stays dependency-free in `lumenqraph-core::xdr`.
stellar-xdr = { version = "23", default-features = false, features = [
"std",
"curr",
"base64",
] }
lru = "0.12"
criterion = { version = "0.5", features = ["async_tokio"] }
[profile.release]
opt-level = 3
lto = "thin"