An easy-to-host PDS on the ATProtocol, MacOS. Grandma-approved.

feat(MM-143): create src-tauri stub Rust crate

authored by malpercio.dev and committed by

Tangled 4b3b5e5a 4a294148

+32
+24
apps/identity-wallet/src-tauri/Cargo.toml
··· 1 + [package] 2 + name = "identity-wallet" 3 + version.workspace = true 4 + edition.workspace = true 5 + publish.workspace = true 6 + 7 + [lib] 8 + name = "identity_wallet" 9 + path = "src/lib.rs" 10 + # staticlib → iOS static binary 11 + # cdylib → Android shared library 12 + # rlib → normal `cargo build` + integration tests 13 + crate-type = ["staticlib", "cdylib", "rlib"] 14 + 15 + # Tauri-recommended release optimizations for mobile binary size. 16 + # IMPORTANT: Cargo ignores [profile.*] in workspace member crates — these settings 17 + # have NO EFFECT here because src-tauri is always built as a workspace member. 18 + # They are included per the design plan as documentation of Tauri's recommendations. 19 + # When iOS release binary size becomes a concern, move these to the root Cargo.toml's 20 + # [profile.release] section (note: that will affect ALL workspace crates' release builds). 21 + [profile.release] 22 + strip = true 23 + lto = true 24 + opt-level = "z"
+2
apps/identity-wallet/src-tauri/src/lib.rs
··· 1 + // Stub — greet command and Tauri builder are wired up in Phase 2. 2 + pub fn run() {}
+6
apps/identity-wallet/src-tauri/src/main.rs
··· 1 + // Prevents a console window from appearing on Windows in release builds. 2 + #![cfg_attr(not(debug_assertions), windows_subsystem = "windows")] 3 + 4 + fn main() { 5 + identity_wallet::run(); 6 + }