# Rust workspace. The framework-free client core, and the two shims that wrap it: # the Tauri desktop app and the uniffi bindings the native Android client loads. # Neither shim owns the core — that is the reason it is a crate at all rather than a # module inside the desktop app (Scribe note 2730). [workspace] resolver = "2" members = ["core", "desktop/src-tauri", "android/ffi", "android/bindgen"] # 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