Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
d639434
Add Rust-to-C++ async function support
alan-george-lk Sep 15, 2026
98dd8c1
Guard Rust future handle initialization
alan-george-lk Sep 15, 2026
0bef855
Use one shared executor for C++ async bindings
alan-george-lk Nov 16, 2026
ef3f257
Keep async runtime coverage focused and remove development probes
alan-george-lk Nov 20, 2026
1e745be
Harden and test the UniFFI async executor
alan-george-lk Nov 21, 2026
d34f8f1
Fix Windows builds for the async fixtures
alan-george-lk Nov 22, 2026
a933b62
Keep async executor shutdown out of static destruction
alan-george-lk Nov 22, 2026
ea7edbb
Allow explicit restart of the async executor
alan-george-lk Nov 22, 2026
4f0b5ca
Add a cross-thread future cancellation handle
alan-george-lk Nov 22, 2026
44d07af
Cancel Rust futures before repolling during shutdown
alan-george-lk Nov 23, 2026
7dde82e
Document callback shutdown for Rust-owned tasks
alan-george-lk Nov 23, 2026
3adfb1f
Test shutdown before the first Rust future poll
alan-george-lk Nov 23, 2026
8895b57
Clarify callbacks rejected while the executor is stopped
alan-george-lk Nov 23, 2026
17b3b28
Poll Rust futures on the caller and share the C++ driver
alan-george-lk Nov 23, 2026
fe3c2b1
Use a linked binding for the executor peer test
alan-george-lk Nov 23, 2026
1dc7116
Wait for caller-thread polls before closing async admission
alan-george-lk Nov 23, 2026
3e0f4f0
Document caller-thread polling and executor shutdown
alan-george-lk Nov 23, 2026
a8a5446
Add doc comments
alan-george-lk Nov 23, 2026
4253dda
More doc comments
alan-george-lk Nov 23, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#### v0.10.0+v0.31.2

----
- Tests: Expand coverage of the upstream async API client example
- Core: Update bindgen to UniFFI v0.31.2
- Core: Objects are passed across the FFI as `uint64_t` handles instead of raw pointers
- Core: Trait interfaces distinguish Rust- and C++-implemented objects when lifting and lowering, and implement the new `uniffi_clone` vtable entry
Expand All @@ -10,7 +11,7 @@
- Core: Support `#[uniffi(default)]` without a literal using C++ value initialization (`{}`)
- Core: Fix optional enum default values rendering with the wrong type
- Core: Fix duplicate type definitions when a record or enum references the same type more than once
- Core: Async functions, constructors and methods are omitted with a warning instead of aborting generation; async callback interfaces are still unsupported
- Core: Support async functions, constructors, methods, and callback interfaces with C++17 futures, cancellation, continuations, and one shared control executor

#### v0.9.0+v0.29.4

Expand Down
210 changes: 201 additions & 9 deletions Cargo.lock

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

Loading
Loading