mirror of
https://github.com/aljazceru/breez-sdk-liquid.git
synced 2026-01-05 23:24:25 +01:00
20 lines
478 B
Rust
20 lines
478 B
Rust
use camino::Utf8Path;
|
|
use uniffi_kotlin_multiplatform::KotlinBindingGenerator;
|
|
|
|
fn main() {
|
|
uniffi::uniffi_bindgen_main();
|
|
|
|
let udl_file = "./src/breez_liquid_sdk.udl";
|
|
let out_dir = Utf8Path::new("ffi/kmp");
|
|
let config = Utf8Path::new("uniffi.toml");
|
|
uniffi_bindgen::generate_external_bindings(
|
|
KotlinBindingGenerator {},
|
|
udl_file,
|
|
Some(config),
|
|
Some(out_dir),
|
|
None::<&Utf8Path>,
|
|
None,
|
|
)
|
|
.unwrap();
|
|
}
|