13 releases
0.2.8 | Feb 15, 2022 |
---|---|
0.2.6 | Feb 15, 2022 |
0.1.18 | Feb 14, 2022 |
#1486 in Development tools
43 downloads per month
53KB
1K
SLoC
uniffi_swiftpkg_gen
Generates swift package based on rust UniFFI.
How to install
Add uniffi_swiftpkg_gen to your rust cargo.
[build-dependencies]
uniffi_swiftpkg_gen = "0.1.2"
Example:
use uniffi_swiftpkg_gen::*;
fn main() {
// Rust uniffi package gen
uniffi_build::generate_scaffolding("./src/gix_guard.udl")
.unwrap();
// Generates Xcode Swift package
Builder::new().generate();
}
Dependencies
~2–12MB
~98K SLoC