-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
62 lines (56 loc) · 1.97 KB
/
Copy pathCargo.toml
File metadata and controls
62 lines (56 loc) · 1.97 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
[workspace]
members = ["crates/*"]
resolver = "2"
[workspace.package]
edition = "2021"
version = "1.88.6"
authors = ["Wanjun Gu <wanjun.gu@ucsf.edu>"]
license = "Apache-2.0"
repository = "https://github.com/BaranziniLab/biorouter"
description = "An AI-powered integrated research environment for biomedical discovery"
[workspace.lints.clippy]
uninlined_format_args = "allow"
string_slice = "warn"
[workspace.dependencies]
rmcp = { version = "0.14.0", features = ["schemars", "auth"] }
anyhow = "1.0"
futures = "0.3"
regex = "1.12"
serde_json = "1.0"
tokio = { version = "1.49", features = ["full"] }
tracing = "0.1"
webbrowser = "1.0"
which = "8.0.0"
etcetera = "0.11.0"
ignore = "0.4.25"
crunchy = "0.2.4"
env-lock = "1.0.1"
wiremock = "0.6"
serial_test = "3.2.0"
# Tuned jemalloc for the long-running binaries (biorouterd / CLI). Default-on
# via each binary's `jemalloc` feature; returns freed pages to the OS promptly.
tikv-jemallocator = "0.6"
tikv-jemalloc-ctl = "0.6"
# --- Build profiles -------------------------------------------------------
# The default release build (used by `cargo build --release`, the Justfile, and
# the whole `scripts/release.sh` pipeline) strips the symbol table from shipped
# binaries. Debug info is already off, so this is a pure ~13% size win with no
# runtime change and no pipeline/path changes.
[profile.release]
strip = true
# Max-optimized distribution profile: thin LTO + 16 codegen units on top of the
# stripped release. Smallest + fastest binary; slower to compile, so it is opt-in
# (`cargo build --profile release-dist`). `just release-binary` uses it.
[profile.release-dist]
inherits = "release"
opt-level = 3
lto = "thin"
codegen-units = 16
# Fast-compile profile for iterating on optimized builds: opt-level 1, maximum
# codegen-units, incremental on. Opt in via `cargo build --profile quick`.
# (Everyday dev still uses the debug `cargo build` / `cargo check`.)
[profile.quick]
inherits = "release"
opt-level = 1
codegen-units = 256
incremental = true