Skip to content

Frame v0.7.3

Choose a tag to compare

@walkie walkie released this 05 Jan 21:51
· 397 commits to main since this release

This release refactors the runtime interface to reduce its impact on the types of generated code, and to make it easier to program against in a generic way. In particular:

  • The interface is no longer split into sync/unsync variants corresponding to whether the thread_safe feature is enabled or not. The traits instead contain associated types and type bounds that enable them to work with both variations of the generated code.

  • The runtime interface no longer requires a lifetime annotation on the machine type.

The new trait bounds on the Machine type must often be propagated to use sites. Additionally callbacks must now own all their references, and the type annotations required on callback arguments have gotten a bit more complicated. See the frame_runtime documentation for details on these issues.