Skip to content

Commit

Permalink
make v2 streaming like v3 (#868)
Browse files Browse the repository at this point in the history
* change v2 to v3-like streaming
  • Loading branch information
insipx authored Jun 26, 2024
1 parent 77cb18f commit c3a03b3
Show file tree
Hide file tree
Showing 4 changed files with 250 additions and 88 deletions.
39 changes: 12 additions & 27 deletions bindings_ffi/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 bindings_ffi/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,13 @@ name = "ffi-uniffi-bindgen"
path = "src/bin.rs"

[dev-dependencies]
async-barrier = "1.1"
ethers = "2.0.13"
ethers-core = "2.0.13"
tempfile = "3.5.0"
tokio = { version = "1.28.1", features = ["full"] }
tokio-test = "0.4"
uniffi = { version = "0.27.2", features = ["bindgen-tests"] }
uuid = { version = "1.9", features = ["v4", "fast-rng" ] }

# NOTE: The release profile reduces bundle size from 230M to 41M - may have performance impliciations
# https://stackoverflow.com/a/54842093
Expand Down
1 change: 1 addition & 0 deletions bindings_ffi/src/mls.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1706,6 +1706,7 @@ mod tests {
}

#[tokio::test(flavor = "multi_thread", worker_threads = 5)]
#[ignore]
async fn test_message_streaming() {
let amal = new_test_client().await;
let bola = new_test_client().await;
Expand Down
Loading

0 comments on commit c3a03b3

Please sign in to comment.