Skip to content

Simplify Rust SDK build - #258

Merged
richvdh merged 2 commits into
mainfrom
poljar/simplify-rust-sdk-build
Aug 3, 2026
Merged

Simplify Rust SDK build#258
richvdh merged 2 commits into
mainfrom
poljar/simplify-rust-sdk-build

Conversation

@poljar

@poljar poljar commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

We were manually rewriting Cargo.toml files of the Rust SDK to enable building with differing uniffi versions and to enable certain hidden features.

This is possible because:

  1. We're on the same uniffi version as the Rust SDK, meaning the uniffi versions have the same feature sets
  2. We re-exposed a feature flag of the matrix-sdk-crypto crate in the matrix-sdk-ffi crate which complement-crypto can now enable

@poljar poljar changed the title Poljar/simplify rust sdk build Simplify Rust SDK build Aug 3, 2026
@poljar
poljar requested a review from richvdh August 3, 2026 14:44
@richvdh

richvdh commented Aug 3, 2026

Copy link
Copy Markdown
Member

Two (2) flakes both due to matrix-org/matrix-rust-sdk#5068.

@poljar

poljar commented Aug 3, 2026

Copy link
Copy Markdown
Contributor Author

And one (1) more due to #249.

@richvdh

richvdh commented Aug 3, 2026

Copy link
Copy Markdown
Member

There was also one due to #201 in the first run

Base automatically changed from poljar/bump-uniffi-bindgen-go to main August 3, 2026 17:10
poljar added 2 commits August 3, 2026 18:10
…ust SDK

Since we're now on the same uniffi versions, we don't need to remove the
unknown Wasm-specific feature flag from the toml file.
@richvdh
richvdh force-pushed the poljar/simplify-rust-sdk-build branch from 1b1076e to 0067c79 Compare August 3, 2026 17:10
@richvdh
richvdh merged commit 311b28e into main Aug 3, 2026
5 of 6 checks passed
@poljar
poljar deleted the poljar/simplify-rust-sdk-build branch August 3, 2026 18:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants