···11[package]
22name = "ferrum_mobile"
33edition = "2024"
44+default-run = "ferrum_mobile"
4556# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
67
+4-1
mobile/src-tauri/src/lib.rs
···7474 .export(
7575 specta_typescript::Typescript::default()
7676 .bigint(specta_typescript::BigIntExportBehavior::String),
7777- "./bindings.ts",
7777+ std::path::PathBuf::from(env!("CARGO_MANIFEST_DIR"))
7878+ .parent() // if this Rust file is inside src-tauri
7979+ .unwrap()
8080+ .join("bindings.ts"),
7881 )
7982 .expect("Failed to export typescript bindings");
8083 specta_builder