Update Rust crate poise to 0.6.1 #12

Merged
Renovate merged 1 commits from renovate/poise-0.x into master 2024-01-11 09:34:30 -05:00
Collaborator

This PR contains the following updates:

Package Type Update Change
poise dependencies minor 0.5.7 -> 0.6.1

Release Notes

serenity-rs/poise (poise)

v0.6.1: 0.6.1

Compare Source

New features:

  • Choice parameters can now be defined inline in a function signature (6167311)

    For example:

    #[choices("Europe", "Asia", "Africa", "America", "Australia", "Antarctica")]
    continent: &'static str
    

Detailed changelog: https://github.com/serenity-rs/poise/compare/v0.6.0...v0.6.1

Thanks to @​kangalio!

v0.6.0

Compare Source

Now with serenity 0.12!

New features:

  • ChoiceParameter is now not only a derive macro, but also a trait, so you can implement it manually (bc250b8)
  • HelpConfiguration::include_description can be used to toggle whether a single command's help output includes its description, or only its help_text (0ad8ee6)

API updates:

  • A lot of structs and enum are now #[non_exhaustive] to allow backwards compatible new features in the future (035e035, 6c08cfb, 1cbfeef)
  • Command no longer has Default bounds on its generics (695ae1d)
  • Changed some field types on Command to be more idiomatic (6c08cfb)
  • CooldownTracker methods now take a dedicated user-constructable CooldownContext instead of Context<'_, U, E>, to make CooldownTracker usable outside poise internals (bd73861)

Behavior changes:

Detailed changelog: https://github.com/serenity-rs/poise/compare/v0.5.7...v0.6.0

Thanks to @​kangalio, @​docwilco, @​drwilco, @​GnomedDev, @​scottbot95!


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [poise](https://github.com/serenity-rs/poise) | dependencies | minor | `0.5.7` -> `0.6.1` | --- ### Release Notes <details> <summary>serenity-rs/poise (poise)</summary> ### [`v0.6.1`](https://github.com/serenity-rs/poise/releases/tag/v0.6.1): 0.6.1 [Compare Source](https://github.com/serenity-rs/poise/compare/v0.6.0...v0.6.1) New features: - Choice parameters can now be defined inline in a function signature ([6167311](https://github.com/serenity-rs/poise/commit/6167311216065b953c6dc64406e56a31e52cd9a1)) For example: ```rust #[choices("Europe", "Asia", "Africa", "America", "Australia", "Antarctica")] continent: &'static str ``` Detailed changelog: https://github.com/serenity-rs/poise/compare/v0.6.0...v0.6.1 Thanks to [@&#8203;kangalio](https://github.com/kangalio)! ### [`v0.6.0`](https://github.com/serenity-rs/poise/blob/HEAD/CHANGELOG.md#060) [Compare Source](https://github.com/serenity-rs/poise/compare/v0.5.7...v0.6.0) Now with serenity 0.12! New features: - `ChoiceParameter` is now not only a derive macro, but also a trait, so you can implement it manually ([bc250b8](https://github.com/serenity-rs/poise/commit/bc250b852d5dc3ef57c5ab1d27d6de0bf5599b0b)) - `HelpConfiguration::include_description` can be used to toggle whether a single command's help output includes its `description`, or only its `help_text` ([0ad8ee6](https://github.com/serenity-rs/poise/commit/0ad8ee668ca2b131ec95cfd8f258f11d3f5b47fb)) API updates: - A lot of structs and enum are now `#[non_exhaustive]` to allow backwards compatible new features in the future ([035e035](https://github.com/serenity-rs/poise/commit/035e03574956f68af582e3ac28478ac32273e172), [6c08cfb](https://github.com/serenity-rs/poise/commit/6c08cfba3af84b4a740611f46f380a3f92aaf810), [1cbfeef](https://github.com/serenity-rs/poise/commit/1cbfeefd7ac4fb26ab73cb61620717bb971a172c)) - `Command` no longer has `Default` bounds on its generics ([695ae1d](https://github.com/serenity-rs/poise/commit/695ae1dd8aaeeaf37129c3d53e90e63daaaa7be0)) - Changed some field types on `Command` to be more idiomatic ([6c08cfb](https://github.com/serenity-rs/poise/commit/6c08cfba3af84b4a740611f46f380a3f92aaf810)) - `CooldownTracker` methods now take a dedicated user-constructable `CooldownContext` instead of `Context<'_, U, E>`, to make `CooldownTracker` usable outside poise internals ([bd73861](https://github.com/serenity-rs/poise/commit/bd73861d2679c26040353eba460d933c7d3a7a15)) Behavior changes: - Rework of the help command to make it nicer ([d38d226](https://github.com/serenity-rs/poise/commit/d38d226e82bd443f7615f4a505fc6803860d15ee), [d038ee6](https://github.com/serenity-rs/poise/commit/d038ee69ade7fc5bb90327093f5a90436eb30d45)) Detailed changelog: https://github.com/serenity-rs/poise/compare/v0.5.7...v0.6.0 Thanks to [@&#8203;kangalio](https://github.com/kangalio), [@&#8203;docwilco](https://github.com/docwilco), [@&#8203;drwilco](https://github.com/drwilco), [@&#8203;GnomedDev](https://github.com/GnomedDev), [@&#8203;scottbot95](https://github.com/scottbot95)! </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMDcuMCIsInVwZGF0ZWRJblZlciI6IjM3LjEwNy4wIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIn0=-->
Renovate added 1 commit 2024-01-11 09:34:29 -05:00
PR created by Renovate Bot.
Renovate scheduled this pull request to auto merge when all checks succeed 2024-01-11 09:34:29 -05:00
Renovate merged commit beaeaed159 into master 2024-01-11 09:34:30 -05:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: toast/Rustbot#12
No description provided.