celld/Cargo.toml
| 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] |
| 4 | resolver = "2" |
| 5 | members = ["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] |
| 10 | lto = "fat" |
| 11 | codegen-units = 1 |
| 12 | opt-level = "s" |
| 13 | panic = "abort" |
| 14 | strip = 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] |
| 20 | inherits = "release" |
| 21 | lto = "thin" |
| 22 | codegen-units = 16 |
| 23 | incremental = 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] |
| 28 | aes-gcm = "0.10" |
| 29 | anyhow = "1" |
| 30 | async-trait = "0.1" |
| 31 | axum = { version = "0.7", features = ["multipart"] } |
| 32 | base64 = "0.22" |
| 33 | bytes = "1" |
| 34 | celld-logic = { path = "crates/logic" } |
| 35 | celld-ltx = { path = "crates/ltx" } |
| 36 | ed25519-dalek = { version = "2", features = ["pkcs8"] } |
| 37 | encoding_rs = "0.8" |
| 38 | fastwebsockets = { version = "0.8", default-features = false, features = ["upgrade", "with_axum"] } |
| 39 | flate2 = "1" |
| 40 | fs2 = "0.4" |
| 41 | futures-util = "0.3" |
| 42 | getrandom = "0.3" |
| 43 | hex = "0.4" |
| 44 | hmac = "0.12" |
| 45 | http-body-util = "0.1" |
| 46 | hyper = { version = "1", features = ["client", "server", "http1"] } |
| 47 | hyper-util = { version = "0.1", features = ["tokio"] } |
| 48 | libc = "0.2" |
| 49 | lz4_flex = { version = "0.11", features = ["frame"] } |
| 50 | md-5 = "0.10" |
| 51 | object_store = { version = "0.11", default-features = false } |
| 52 | p256 = { version = "0.13", features = ["ecdsa", "pkcs8"] } |
| 53 | percent-encoding = "2" |
| 54 | proptest = "1" |
| 55 | rand = "0.8" |
| 56 | regex = "1" |
| 57 | reqwest = { version = "0.12", default-features = false } |
| 58 | rsa = { version = "0.9", features = ["sha2"] } |
| 59 | rusqlite = "0.31" |
| 60 | rustls = { version = "0.23", default-features = false, features = ["ring"] } |
| 61 | serde = { version = "1", features = ["derive"] } |
| 62 | serde_json = "1" |
| 63 | sha1 = "0.10" |
| 64 | sha2 = "0.10" |
| 65 | tempfile = "3" |
| 66 | thiserror = "2" |
| 67 | tokio = "1" |
| 68 | tokio-rustls = { version = "0.26", default-features = false, features = ["ring"] } |
| 69 | tokio-stream = "0.1" |
| 70 | tokio-util = { version = "0.7", features = ["io", "time"] } |
| 71 | tracing = "0.1" |
| 72 | tracing-subscriber = { version = "0.3", features = ["env-filter"] } |
| 73 | url = "2" |
| 74 | urlpattern = "=0.4.2" |
| 75 | v8 = "152" |
| 76 | webpki-roots = "1" |