From 9fef1301ba125e5d9e06cabe0a2b1ee8c6c3830c Mon Sep 17 00:00:00 2001 From: Martynas Gurskas Date: Wed, 13 Nov 2024 11:39:56 +0200 Subject: [PATCH] Bump v0.2.2+v0.25.0 Signed-off-by: Martynas Gurskas --- CHANGELOG.md | 7 +++++++ Cargo.lock | 2 +- README.md | 6 +++--- bindgen/Cargo.toml | 2 +- 4 files changed, 12 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 899ec78..c4cc7e1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ ---- +### v0.2.2+v0.25.0 + +- Fix multiple async packages not working together [#45](https://github.com/NordSecurity/uniffi-bindgen-go/issues/45). +- Add package name to `RustBufferI` if it needs it [#43](https://github.com/NordSecurity/uniffi-bindgen-go/issues/43). +- Fix several issues with the error interface [#36](https://github.com/NordSecurity/uniffi-bindgen-go/issues/36). +- Cleanup callback code. + ### v0.2.1+v0.25.0 - Fix generated code when `error` field name is used in an associated error variant diff --git a/Cargo.lock b/Cargo.lock index 7fdb190..51493d9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1170,7 +1170,7 @@ dependencies = [ [[package]] name = "uniffi-bindgen-go" -version = "0.2.1+v0.25.0" +version = "0.2.2+v0.25.0" dependencies = [ "anyhow", "askama", diff --git a/README.md b/README.md index 17a8052..155887b 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ Minimum Rust version required to install `uniffi-bindgen-go` is `1.70`. Newer Rust versions should also work fine. ``` -cargo install uniffi-bindgen-go --git https://github.com/NordSecurity/uniffi-bindgen-go --tag v0.2.1+v0.25.0 +cargo install uniffi-bindgen-go --git https://github.com/NordSecurity/uniffi-bindgen-go --tag v0.2.2+v0.25.0 ``` # How to generate bindings @@ -22,11 +22,11 @@ uniffi-bindgen-go path/to/definitions.udl Generates bindings file `path/to/uniffi/definitions/definitions.go` -# Linking +# Linking You will need to make sure the compiled Rust binaries are in your `LD_LIBRARY_PATH` (set this to `target/release/` if you have built with the `--release` flag, for instance). -You can also create a script to properly link these bindings - see `test_bindings.sh` in the root of this repository for an example. +You can also create a script to properly link these bindings - see `test_bindings.sh` in the root of this repository for an example. # How to integrate bindings diff --git a/bindgen/Cargo.toml b/bindgen/Cargo.toml index 2a7242d..0bfc0a6 100644 --- a/bindgen/Cargo.toml +++ b/bindgen/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "uniffi-bindgen-go" -version = "0.2.1+v0.25.0" +version = "0.2.2+v0.25.0" edition = "2021" [lib]