diff --git a/rust-sdk/Cargo.toml b/rust-sdk/Cargo.toml index f5a2e20e3c..ee9a950ed0 100644 --- a/rust-sdk/Cargo.toml +++ b/rust-sdk/Cargo.toml @@ -37,7 +37,7 @@ features = ["rt-multi-thread"] [dependencies.uniffi] version = "0.7.0" git = "https://github.com/mozilla/uniffi-rs" -branch = "tagged-unions" +rev = "f7c8ccda783494ee507ea0f8a61f35b39527394f" [build-dependencies] uniffi_build = "0.7.0" diff --git a/rust-sdk/src/olm.udl b/rust-sdk/src/olm.udl index 7107a8b40e..30eee9a50d 100644 --- a/rust-sdk/src/olm.udl +++ b/rust-sdk/src/olm.udl @@ -50,7 +50,7 @@ dictionary Sas { Request request; }; -[TaggedUnion] +[Enum] interface Request { ToDevice(string request_id, string event_type, string body); KeysUpload(string request_id, string body);