From: Matt Corallo Date: Sun, 14 Apr 2024 17:41:26 +0000 (+0000) Subject: Add the standard uniffi-bindgen bin target X-Git-Tag: v0.5.4~18 X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=321c8ed8ab0ae673f5026ef43174e6ae666838ee;p=dnssec-prover Add the standard uniffi-bindgen bin target --- diff --git a/uniffi/Cargo.toml b/uniffi/Cargo.toml index 8a223a8..bff333a 100644 --- a/uniffi/Cargo.toml +++ b/uniffi/Cargo.toml @@ -15,6 +15,10 @@ uniffi = { version = "0.27" } [build-dependencies] uniffi = { version = "0.27", features = [ "build" ] } +[[bin]] +name = "uniffi-bindgen" +path = "uniffi-bindgen.rs" + [lib] crate-type = ["cdylib"] diff --git a/uniffi/uniffi-bindgen.rs b/uniffi/uniffi-bindgen.rs new file mode 100644 index 0000000..2aea967 --- /dev/null +++ b/uniffi/uniffi-bindgen.rs @@ -0,0 +1,3 @@ +fn main() { + uniffi::uniffi_bindgen_main() +}