mirror of
https://github.com/lahfir/agent-desktop.git
synced 2026-07-26 17:12:15 +00:00
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
44 lines
1.3 KiB
TOML
44 lines
1.3 KiB
TOML
[workspace]
|
|
members = ["crates/core", "crates/macos", "crates/windows", "crates/linux", "crates/ffi", "src"]
|
|
resolver = "2"
|
|
|
|
[workspace.package]
|
|
edition = "2021"
|
|
rust-version = "1.78"
|
|
license = "Apache-2.0"
|
|
version = "0.1.13" # x-release-please-version
|
|
|
|
[workspace.dependencies]
|
|
clap = { version = "4.5", features = ["derive"] }
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde_json = "1.0"
|
|
thiserror = "2.0"
|
|
tracing = "0.1"
|
|
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
|
|
base64 = "0.22"
|
|
rustc-hash = "2.1"
|
|
agent-desktop-core = { path = "crates/core" }
|
|
|
|
[profile.release]
|
|
opt-level = "z"
|
|
lto = true
|
|
codegen-units = 1
|
|
strip = true
|
|
panic = "abort"
|
|
|
|
# Fast build for CI: skip LTO and size optimisations, keep debug info for
|
|
# better test failure messages. Inherits release settings not listed here.
|
|
[profile.ci]
|
|
inherits = "release"
|
|
opt-level = 1
|
|
lto = false
|
|
codegen-units = 16
|
|
strip = false
|
|
debug = 1
|
|
|
|
# Dedicated profile for the FFI cdylib. Overrides panic = "abort" so
|
|
# catch_unwind actually catches at the extern "C" boundary — the CLI
|
|
# release profile stays abort for size reasons.
|
|
[profile.release-ffi]
|
|
inherits = "release"
|
|
panic = "unwind"
|