-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
125 lines (116 loc) · 3.98 KB
/
Copy pathCargo.toml
File metadata and controls
125 lines (116 loc) · 3.98 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
123
124
125
[package]
name = "mega2"
version = "0.38.21"
edition = "2024"
# Two [[bin]] targets exist; keep `cargo run -p mega2` unambiguous.
default-run = "mega2"
[[bin]]
name = "mega2"
path = "src/main.rs"
[[bin]]
name = "migrate_local_to_s3"
path = "src/bin/migrate_local_to_s3.rs"
[lib]
name = "mega2_core"
path = "src/lib.rs"
doctest = false
[features]
default = []
fastcdc = ["dep:tempfile"]
[dependencies]
anyhow = "1.0.104"
async-recursion = "1.1.1"
async-stream = "0.3.6"
async-trait = "0.1.92"
axum = { version = "0.8.9", features = ["macros", "json", "ws"] }
axum-extra = { version = "0.12.6", features = ["typed-header"] }
base64 = "0.23.1"
blake3 = "1.8.7"
bs58 = "0.5.1"
bytes = "1.12.1"
cedar-policy = "4.12.0"
chrono = { version = "0.4.45", features = ["serde"] }
clap = { version = "4.6.6", features = ["derive"] }
config = "0.15.25"
ctrlc = "3.5.2"
directories = "6.0.0"
ed25519-dalek = { version = "3.0.0", features = ["pkcs8"] }
envsubst = "0.2.1"
futures = "0.3.34"
git-internal = "0.10.2"
# Shared MST/2 wire codec (specs 03/05/06/07). Registry crate 0.3.1
# (spec-conformance wire fixes + zstd CHUNK cap).
mst2-codec = { version = "0.3.1", features = ["zstd"] }
hex = "0.4.3"
hmac = "0.13.0"
http = "1.5.0"
idgenerator = "2.0.0"
indexmap = "2.14.2"
itertools = "0.15.0"
lazy_static = "1.5.0"
libc = "0.2.189"
libvault = { version = "0.3.0", features = ["storage_pg", "crypto_adaptor_openssl"] }
log = "0.4.34"
once_cell = "1.21.4"
# `object_store` (cloud/aws/gcp) is a direct dependency; orbit contract +
# implementation live in `src/orbit_api/` and `src/orbit/`.
object_store = { version = "0.14.1", features = ["aws", "gcp"] }
openssl = "0.10.81"
parse-display = "0.11.0"
percent-encoding = "2.3.2"
pgp = "0.20.0"
rand = { version = "0.10.2", features = ["thread_rng"] }
# pgp / ed25519 signing helpers still need the rand 0.8 API surface.
rand08 = { package = "rand", version = "0.8.7" }
redis = { version = "1.7.0", features = ["aio", "tokio-rustls-comp", "connection-manager"] }
regex = "1.13.1"
reqwest = { version = "0.13.5", features = ["json", "stream", "blocking"] }
ring = "0.17.14"
rkyv = "0.8.18"
rsa = "0.9.10"
russh = "0.63.3"
rustls = "0.23.44"
ryu = "1.0.23"
sea-orm = { version = "2.0.2", default-features = false, features = ["sqlx-postgres", "runtime-tokio-rustls", "macros", "debug-print"] }
sea-orm-migration = { version = "2.0.2", default-features = false, features = ["sqlx-postgres", "runtime-tokio-rustls"] }
secp256k1 = { version = "0.33.1", features = ["serde", "rand"] }
serde = { version = "1.0.229", features = ["derive", "rc", "alloc"] }
serde_json = "1.0.151"
serde_urlencoded = "0.7.1"
sha1 = "0.11.0"
sha2 = "0.11.0"
smallvec = "1.16.0"
sysinfo = "0.39.6"
tempfile = { version = "3.27.0", optional = true }
thiserror = "2.0.20"
time = { version = "0.3.55", features = ["serde"] }
tokio = { version = "1.53.1", features = ["full"] }
tokio-stream = "0.1.19"
tokio-util = "0.7.19"
toml = "1.1.5"
tower = "0.5.3"
tower-http = { version = "0.7.1", features = ["cors", "trace", "decompression-full"] }
tower-sessions = { version = "0.15.0", features = ["memory-store"] }
tracing = "0.1.44"
tracing-appender = "0.2.5"
tracing-subscriber = "0.3.23"
url = "2.5.8"
utoipa = { version = "5.5.0", features = ["chrono", "axum_extras"] }
utoipa-axum = "0.2.0"
utoipa-swagger-ui = { version = "9.0.2", features = ["axum", "vendored"] }
uuid = { version = "1.26.1", features = ["v4"] }
# Global allocators (jemalloc / mimalloc) are a binary concern and live in
# `src/main.rs`; the library crate does not depend on them.
[target.'cfg(not(windows))'.dependencies]
jemallocator = "0.5.4"
[target.'cfg(windows)'.dependencies]
mimalloc = "0.1.52"
[dev-dependencies]
libc = "0.2.189"
redis-test = { version = "1.0.4", features = ["aio"] }
reqwest = { version = "0.13.5", features = ["json", "blocking"] }
sea-orm = { version = "2.0.2", default-features = false, features = ["sqlx-postgres", "runtime-tokio-rustls"] }
serde_json = "1.0.151"
tempfile = "3.27.0"
tokio = { version = "1.53.1", features = ["rt", "net", "time"] }
url = "2.5.8"