Skip to content

v0.10.0-beta.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@Finomnis Finomnis released this 01 Jun 13:41
· 77 commits to main since this release

Breaking Changes

  • The error return type of Toplevel::handle_shutdown_requests is GracefulShutdownError instead of a template

Non-Breaking Changes

  • Add Toplevel::nested() to allow toplevel objects that are nested inside of subsystems.
    • This allows for a clean isolation of program parts that require their own shutdown context.
  • Add SubsystemHandle::request_global_shutdown() to initiate a shutdown of the entire program.
    • SubsystemHandle::request_shutdown() will only shut down the next Toplevel object.
  • Subsystem names can be &str instead of &'static str