Skip to content

Commit

Permalink
Update generators to the versions which are compatible with upstream …
Browse files Browse the repository at this point in the history
…uniffi v0.23.0
  • Loading branch information
jjanowsk committed Jul 11, 2023
1 parent cbfae9d commit b6007bf
Show file tree
Hide file tree
Showing 4 changed files with 108 additions and 27 deletions.
112 changes: 94 additions & 18 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ version = "0.23.0"
edition = "2021"

[dependencies]
uniffi = { git = "https://github.com/NordSecurity/uniffi-rs.git", rev = "36de103c82d3e062ac045b13394b8ad387d23a67", features = ["cli"] }
uniffi = { git = "https://github.com/NordSecurity/uniffi-rs.git", rev = "a4318f3b55a7ee2c12eb9f0fe1b5122d89323fc4", features = ["cli"] }
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
FROM rust:1.64-bullseye as builder
COPY . /project
RUN cd /project && cargo install --path .
RUN cargo install uniffi-bindgen-cs --tag v0.2.2+v0.23.0 --git https://github.com/NordSecurity/uniffi-bindgen-cs
RUN cargo install uniffi-bindgen-go --tag v0.1.0+v0.23.0 --git https://github.com/NordSecurity/uniffi-bindgen-go
RUN cargo install uniffi-bindgen-cs --tag v0.2.3+v0.23.0 --git https://github.com/NordSecurity/uniffi-bindgen-cs
RUN cargo install uniffi-bindgen-go --tag v0.1.2+v0.23.0 --git https://github.com/NordSecurity/uniffi-bindgen-go

FROM debian:bullseye
COPY --from=builder /usr/local/cargo/bin/uniffi-bindgen /bin
Expand Down
17 changes: 11 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,20 @@ each time one of the generators is updated e.g. because of the bug fix. The tabl
shows which versions of each generator are inside the docker image.


| Docker image | uniffi-rs version | uniffi-bindgen-cs version | uniffi-bindgen-go version |
|----------------|-------------------|---------------------------|---------------------------|
| v0.23.0-3 | v0.23.0 (FORK) | v0.2.2+v0.23.0 | v0.1.0+v0.23.0 |
| v0.23.0-2 | v0.23.0 | v0.2.1+v0.23.0 | v0.1.0+v0.23.0 |
| v0.23.0-1 | v0.23.0 | v0.2.1+v0.23.0 | not present |
| Docker image | uniffi-rs version | uniffi-bindgen-cs version | uniffi-bindgen-go version |
|------------------------|-------------------|---------------------------|---------------------------|
| v0.23.0-4 | v0.23.0 (FORK) | v0.2.3+v0.23.0 | v0.1.1+v0.23.0 |
| v0.23.0-3 (DO NOT USE) | v0.23.0 (FORK) | v0.2.2+v0.23.0 | v0.1.0+v0.23.0 |
| v0.23.0-2 (DO NOT USE) | v0.23.0 | v0.2.1+v0.23.0 | v0.1.0+v0.23.0 |
| v0.23.0-1 | v0.23.0 | v0.2.1+v0.23.0 | not present |

# v0.23.0-3
# v0.23.0-4

uniffi-rs [fork](https://github.com/NordSecurity/uniffi-rs/commit/36de103c82d3e062ac045b13394b8ad387d23a67) changelist:
- Docstrings support. See
[mozilla/uniffi-rs/pull/1493](https://github.com/mozilla/uniffi-rs/pull/1493) and
[mozilla/uniffi-rs/pull/1498](https://github.com/mozilla/uniffi-rs/pull/1498).

# v0.23.0-2, v0.23.0-3

Those versions have a severe bug which make those versions unusable. Do not use.

0 comments on commit b6007bf

Please sign in to comment.