uniffi_swiftpkg_gen

Crates.iouniffi_swiftpkg_gen
lib.rsuniffi_swiftpkg_gen
version0.2.8
sourcesrc
created_at2022-02-14 03:37:40.363775
updated_at2022-02-15 15:08:54.758947
descriptionXcode swift package framework generator/updater tool for rust UniFFI
homepage
repositoryhttps://github.com/mjhatamy/uniffi_swiftpkg_gen
max_upload_size
id532000
size70,086
Jacob Hatami (mjhatamy)

documentation

README

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();
}
Commit count: 18

cargo fmt