Crates.io | uniffi_swiftpkg_gen |
lib.rs | uniffi_swiftpkg_gen |
version | 0.2.8 |
source | src |
created_at | 2022-02-14 03:37:40.363775 |
updated_at | 2022-02-15 15:08:54.758947 |
description | Xcode swift package framework generator/updater tool for rust UniFFI |
homepage | |
repository | https://github.com/mjhatamy/uniffi_swiftpkg_gen |
max_upload_size | |
id | 532000 |
size | 70,086 |
Generates swift package based on rust UniFFI.
Add uniffi_swiftpkg_gen to your rust cargo.
[build-dependencies]
uniffi_swiftpkg_gen = "0.1.2"
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();
}