use record exported types
Full documentation of the UniFFI crates can be found here.
Another demo including building Rust for WASM (WebAssembly): https://github.com/imWildCat/rust-mobile-web-demo
If you find this project useful, please consider support me: https://github.com/sponsors/imWildCat. Thanks!
https://github.com/imWildCat/uniffi-rs-fullstack-examples/discussions
Please read https://www.rust-lang.org/tools/install.
make prepare-android
make prepare-apple
rustup target add aarch64-apple-ios-sim --toolchain nightly && rustup target add aarch64-apple-ios x86_64-apple-ios
$ rustup target list --installed | grep ios aarch64-apple-ios aarch64-apple-ios-sim x86_64-apple-ios
aarch64-apple-ios-sim
uniffi-bindgen
cargo install uniffi_bindgen
Please read hello/README.md.
MIT
©Copyright 2023 CCF 开源发展委员会 Powered by Trustie& IntelliDE 京ICP备13000930号
Fullstack Examples of UniFFI-rs
Full documentation of the UniFFI crates can be found here.
Another demo including building Rust for WASM (WebAssembly): https://github.com/imWildCat/rust-mobile-web-demo
If you find this project useful, please consider support me: https://github.com/sponsors/imWildCat. Thanks!
Questions?
https://github.com/imWildCat/uniffi-rs-fullstack-examples/discussions
Prerequisites
Rust
Please read https://www.rust-lang.org/tools/install.
Android
make prepare-android
iOS
make prepare-apple
orrustup target add aarch64-apple-ios-sim --toolchain nightly && rustup target add aarch64-apple-ios x86_64-apple-ios
. Check installaion: Please note thataarch64-apple-ios-sim
requries the nightly toolchain (https://doc.rust-lang.org/nightly/rustc/platform-support/aarch64-apple-ios-sim.html).uniffi-bindgen
:cargo install uniffi_bindgen
, details: https://mozilla.github.io/uniffi-rs/tutorial/Prerequisites.htmlGet Started
Hello
Please read hello/README.md.
License
MIT