| 1 | [workspace] |
| 2 | resolver = "3" |
| 3 | members = ["crates/*"] |
| 4 | exclude = ["fuzz"] |
| 5 | |
| 6 | [workspace.package] |
| 7 | version = "0.1.1" |
| 8 | edition = "2024" |
| 9 | rust-version = "1.89" |
| 10 | license = "Apache-2.0" |
| 11 | repository = "https://github.com/KikoCis/elffuss-braid" |
| 12 | homepage = "https://elffuss.com" |
| 13 | publish = false |
| 14 | |
| 15 | [workspace.dependencies] |
| 16 | braid-format = { package = "elffuss-braid-format", path = "crates/format" } |
| 17 | braid-engine = { package = "elffuss-braid-engine", path = "crates/engine" } |
| 18 | braid-store = { package = "elffuss-braid-store", path = "crates/store" } |
| 19 | braid-repo = { package = "elffuss-braid-repo", path = "crates/repo" } |
| 20 | braid-git = { package = "elffuss-braid-git", path = "crates/git" } |
| 21 | braid-wc = { package = "elffuss-braid-wc", path = "crates/wc" } |
| 22 | braid-hubproto = { package = "elffuss-braid-hubproto", path = "crates/hubproto" } |
| 23 | anyhow = "1.0" |
| 24 | blake3 = "1.8" |
| 25 | clap = { version = "4.6", features = ["derive", "env"] } |
| 26 | serde = { version = "1.0", features = ["derive"] } |
| 27 | serde_json = "1.0" |
| 28 | tempfile = "3" |
| 29 | unicode-normalization = "0.1" |
| 30 | proptest = "1.12" |
| 31 | |
| 32 | [workspace.lints.rust] |
| 33 | unsafe_code = "deny" |
| 34 | missing_debug_implementations = "warn" |
| 35 | |
| 36 | [workspace.lints.clippy] |
| 37 | dbg_macro = "deny" |
| 38 | todo = "deny" |
| 39 | |
| 40 | [profile.release] |
| 41 | codegen-units = 1 |
| 42 | lto = "thin" |
| 43 | strip = "symbols" |
| 44 | |
| 45 | # Hashing, compression and chunking run optimised even in debug builds, so |
| 46 | # tests that store large blobs stay quick. |
| 47 | [profile.dev.package.blake3] |
| 48 | opt-level = 3 |
| 49 | |
| 50 | [profile.dev.package.zstd-sys] |
| 51 | opt-level = 3 |
| 52 | |
| 53 | [profile.dev.package.fastcdc] |
| 54 | opt-level = 3 |
| 55 | |
| 56 | [profile.dev.package.crc32c] |
| 57 | opt-level = 3 |