8000 Release v0.3.0 · ZihanType/rudi · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

v0.3.0

Compare
Choose a tag to compare
@ZihanType ZihanType released this 12 Aug 19:09
· 95 commits to main since this release

In this release, I've continued to polish the use of attribute macros with the goal of making them more ergonomic.

Although the attribute macros have been very much refactored internally, the migration steps are simple for developers.

  1. #[di(option(T))] => #[di(option = T)]

  2. #[di(vector(T))] => #[di(vector = T)]

  3. #[Singleton(not_auto_register)] / #[Transient(not_auto_register)] => #[Singleton(auto_register = false)] / #[Transient(auto_register = false)]

  4. #[Singleton(async_constructor)] / #[Transient(async_constructor)] => #[Singleton(async)] / #[Transient(async)]

  5. #[rudi(crate = path::to::rudi)] => #[Singleton(rudi_path = path::to::rudi)] / #[Transient(rudi_path = path::to::rudi)]

For more details on how the attributes are used in the current release, see:

0