# Rust workspace. Two members today: the framework-free client core, and the Tauri # desktop app that wraps it. The Android client becomes a third consumer of `core` # through uniffi (Scribe note 2730) — which is the reason the core is a crate at all # rather than a module inside the desktop app. [workspace] resolver = "2" members = ["core", "desktop/src-tauri"] # Shared pins, so two consumers of the core cannot drift onto different versions of # the same dependency and resolve differently. [workspace.dependencies] serde = { version = "1", features = ["derive"] } serde_json = "1" log = "0.4" # Tauri's default release profile: smaller, faster shipped binaries. # # At the WORKSPACE root, not in the desktop member: cargo ignores profiles declared # by a non-root package, so leaving it there would silently drop lto/strip/opt-level # from every release build with only a warning to say so. [profile.release] codegen-units = 1 lto = true opt-level = "s" panic = "abort" strip = true