Skip to content

Releases: ZihanType/nade

v0.3.3

12 Oct 09:20
Compare
Choose a tag to compare

Breaking

  • add attribute argument name module_path.

    originally written like this:

    #[nade($crate)]
    fn a() {}

    should be changed to:

    #[nade(module_path = $crate)]
    fn a() {}

New Features

  • add attribute arguments that customize the paths of the macro_v and nade_helper macros.
  • add return type doc.

Fixes

  • change the heading level of documents with generated parameters and return type.

Internal Improvements

  • refactor parse methods of MaybeStartsWithDollar and StartsWithDollar.
  • improving the accuracy of error messages.
  • reduce clone method calls.

Docs

  • update README.md.
  • add README-zh_cn.md.