# Cargo workspace for the Ulti suite native shells (Tauri 2, Android + iOS).
# Each product is its own Tauri app under apps/<app>/src-tauri sharing the
# ulti-core crate (config, secure store, push, deep-link, share, contacts glue).
[workspace]
resolver = "2"
members = [
    "crates/ulti-core",
    "apps/ultimail/src-tauri",
    # Sibling apps generated from the pilot template by scripts/new-app.mjs
    # (see the replicate-apps section in mobile/README.md).
    "apps/ultidrive/src-tauri",
    "apps/ulticalmeet/src-tauri",
    "apps/ultiai/src-tauri",
    "apps/contacts/src-tauri",
]

[workspace.package]
version = "0.1.0"
edition = "2021"
license = "MIT"
authors = ["Ulti"]

[workspace.dependencies]
tauri = { version = "2", features = [] }
tauri-build = { version = "2", features = [] }
tauri-plugin = { version = "2", features = [] }
tauri-plugin-deep-link = "2"
tauri-plugin-notification = "2"
tauri-plugin-opener = "2"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
log = "0.4"
ulti-core = { path = "crates/ulti-core" }

# Smaller, faster mobile binaries.
[profile.release]
panic = "abort"
codegen-units = 1
lto = true
opt-level = "s"
strip = true
