uniffi-rs/fixtures
Ben Dean-Kawamura e7a4130d2d Updating the foreign executor API
Added parameters/return values to signal failure.  In particular, we
need a way to signal that the foreign executor has been cancelled/closed
and therefore any futures that depend on it should be halted.  This is
needed to fix #1669.

Updated the Rust code to check for executor failures.  We need to
release any references passed to the waker callback since that callback
will not run in that case.

Updated the foreign code to handle cancelled futures.

Reworked and updated unit tests to test the new system.

Bumped `UNIFFI_CONTRACT_VERSION` since this requires changing the
scaffolding API.  I think this is correct, although you could make the
argument that it's not needed since the async code is still fairly
experimental.

Updated the `uniffi-versioning.md` doc now that
`UNIFFI_CONTRACT_VERSION` lives in `uniffi_meta`.
2023-08-16 15:12:17 -04:00
..
benchmarks Add a version to the example/fixture dependencies on uniffi 2023-06-23 12:10:07 +02:00
callbacks Add a version to the example/fixture dependencies on uniffi 2023-06-23 12:10:07 +02:00
coverall Add a version to the example/fixture dependencies on uniffi 2023-06-23 12:10:07 +02:00
ext-types Allow use of `uniffi::custom_newtype!` from non-root modules (#1691) 2023-08-10 10:36:11 -04:00
foreign-executor Add a version to the example/fixture dependencies on uniffi 2023-06-23 12:10:07 +02:00
futures Updating the foreign executor API 2023-08-16 15:12:17 -04:00
keywords Add a version to the example/fixture dependencies on uniffi 2023-06-23 12:10:07 +02:00
large-enum bump the buffer size of metadata 2023-07-05 08:58:23 +03:00
metadata Split UDL parts of uniffi_bindgen into a new uniffi_udl crate. (#1629) 2023-07-03 17:55:20 -04:00
proc-macro proc-macro: Support default of None for struct fields 2023-07-13 22:49:18 +02:00
reexport-scaffolding-macro Add a version to the example/fixture dependencies on uniffi 2023-06-23 12:10:07 +02:00
regressions Remove almost all references to `DOMString` (#1659) 2023-07-24 10:05:38 -04:00
simple-fns Add a version to the example/fixture dependencies on uniffi 2023-06-23 12:10:07 +02:00
simple-iface Allow crates to use proc-macros without UDL 2023-07-04 11:41:23 -04:00
swift-bridging-header-compile Add a version to the example/fixture dependencies on uniffi 2023-06-23 12:10:07 +02:00
swift-omit-labels Add a version to the example/fixture dependencies on uniffi 2023-06-23 12:10:07 +02:00
trait-methods Add a version to the example/fixture dependencies on uniffi 2023-06-23 12:10:07 +02:00
type-limits Test string edge cases for Kotlin and Swift (#1602) 2023-07-24 14:51:13 -04:00
uitests Split UDL parts of uniffi_bindgen into a new uniffi_udl crate. (#1629) 2023-07-03 17:55:20 -04:00
uniffi-fixture-time Add a version to the example/fixture dependencies on uniffi 2023-06-23 12:10:07 +02:00
version-mismatch Add a version to the example/fixture dependencies on uniffi 2023-06-23 12:10:07 +02:00