Diffinery

homeflare/celldpublic

celld/Cargo.toml
76 lines · 2.3 KBRaw History
1# Clean-sheet celld workspace. `crates/logic` owns all behavioral state and
2# decisions; `crates/celld` is only an effect executor and adapter host.
3[workspace]
4resolver = "2"
5members = ["crates/*"]
6
7# Size-tuned: fat LTO prunes unused dependency code, panic=abort drops
8# unwind tables. opt-level "s" (not "z") — measure RPS before trading further.
9[profile.release]
10lto = "fat"
11codegen-units = 1
12opt-level = "s"
13panic = "abort"
14strip = true
15
16# The lab fast loop: release optimization minus the fat-LTO relink that
17# dominates rebuild time, plus incremental compilation. Shipped artifacts
18# stay on `release`.
19[profile.lab]
20inherits = "release"
21lto = "thin"
22codegen-units = 16
23incremental = true
24
25# Every direct dependency lives here so the crates can never drift onto two
26# versions of the same crate; members add their own features.
27[workspace.dependencies]
28aes-gcm = "0.10"
29anyhow = "1"
30async-trait = "0.1"
31axum = { version = "0.7", features = ["multipart"] }
32base64 = "0.22"
33bytes = "1"
34celld-logic = { path = "crates/logic" }
35celld-ltx = { path = "crates/ltx" }
36ed25519-dalek = { version = "2", features = ["pkcs8"] }
37encoding_rs = "0.8"
38fastwebsockets = { version = "0.8", default-features = false, features = ["upgrade", "with_axum"] }
39flate2 = "1"
40fs2 = "0.4"
41futures-util = "0.3"
42getrandom = "0.3"
43hex = "0.4"
44hmac = "0.12"
45http-body-util = "0.1"
46hyper = { version = "1", features = ["client", "server", "http1"] }
47hyper-util = { version = "0.1", features = ["tokio"] }
48libc = "0.2"
49lz4_flex = { version = "0.11", features = ["frame"] }
50md-5 = "0.10"
51object_store = { version = "0.11", default-features = false }
52p256 = { version = "0.13", features = ["ecdsa", "pkcs8"] }
53percent-encoding = "2"
54proptest = "1"
55rand = "0.8"
56regex = "1"
57reqwest = { version = "0.12", default-features = false }
58rsa = { version = "0.9", features = ["sha2"] }
59rusqlite = "0.31"
60rustls = { version = "0.23", default-features = false, features = ["ring"] }
61serde = { version = "1", features = ["derive"] }
62serde_json = "1"
63sha1 = "0.10"
64sha2 = "0.10"
65tempfile = "3"
66thiserror = "2"
67tokio = "1"
68tokio-rustls = { version = "0.26", default-features = false, features = ["ring"] }
69tokio-stream = "0.1"
70tokio-util = { version = "0.7", features = ["io", "time"] }
71tracing = "0.1"
72tracing-subscriber = { version = "0.3", features = ["env-filter"] }
73url = "2"
74urlpattern = "=0.4.2"
75v8 = "152"
76webpki-roots = "1"