Skip to content

v0.6.0

Latest

Choose a tag to compare

@github-actions github-actions released this 16 May 11:56
004ca84

Changes

New Features

provider: Add `expect` and `expect_init` panicking convenience methods 004ca84
  • expect::<T>(), expect_async::<T>(), expect_trait::<T>(), expect_trait_async::<T>() resolve or panic
  • expect_init() runs init closures or panics
  • Update tests to use new convenience methods

Warning

Breaking Change: provider: Make `ServiceProvider::init` chainable e3b84ea
  • init(self) -> Result<Self, Report<InitError>> consumes and returns provider
  • Enables build().init()? fluent pattern