···11+[package]
22+name = "identity-wallet"
33+version.workspace = true
44+edition.workspace = true
55+publish.workspace = true
66+77+[lib]
88+name = "identity_wallet"
99+path = "src/lib.rs"
1010+# staticlib → iOS static binary
1111+# cdylib → Android shared library
1212+# rlib → normal `cargo build` + integration tests
1313+crate-type = ["staticlib", "cdylib", "rlib"]
1414+1515+# Tauri-recommended release optimizations for mobile binary size.
1616+# IMPORTANT: Cargo ignores [profile.*] in workspace member crates — these settings
1717+# have NO EFFECT here because src-tauri is always built as a workspace member.
1818+# They are included per the design plan as documentation of Tauri's recommendations.
1919+# When iOS release binary size becomes a concern, move these to the root Cargo.toml's
2020+# [profile.release] section (note: that will affect ALL workspace crates' release builds).
2121+[profile.release]
2222+strip = true
2323+lto = true
2424+opt-level = "z"
+2
apps/identity-wallet/src-tauri/src/lib.rs
···11+// Stub — greet command and Tauri builder are wired up in Phase 2.
22+pub fn run() {}
+6
apps/identity-wallet/src-tauri/src/main.rs
···11+// Prevents a console window from appearing on Windows in release builds.
22+#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")]
33+44+fn main() {
55+ identity_wallet::run();
66+}