Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Rust crate poise to 0.6 #140

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Update Rust crate poise to 0.6 #140

wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 13, 2024

Mend Renovate

This PR contains the following updates:

Package Type Update Change
poise dependencies minor 0.5 -> 0.6

Release Notes

serenity-rs/poise (poise)

v0.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: serenity-rs/poise@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: serenity-rs/poise@v0.5.7...v0.6.0

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


Configuration

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

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

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 Mend Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/poise-0.x branch 5 times, most recently from d0d4149 to 5d48c2d Compare January 20, 2024 01:15
@renovate renovate bot force-pushed the renovate/poise-0.x branch 2 times, most recently from 0691ff9 to bd89e94 Compare February 5, 2024 17:37
@renovate renovate bot force-pushed the renovate/poise-0.x branch from bd89e94 to 389e8a5 Compare February 19, 2024 16:57
@renovate renovate bot force-pushed the renovate/poise-0.x branch 2 times, most recently from 82b99ab to 4b015b2 Compare March 4, 2024 15:17
@renovate renovate bot force-pushed the renovate/poise-0.x branch from 4b015b2 to 198637e Compare March 5, 2024 00:06
@renovate renovate bot force-pushed the renovate/poise-0.x branch from 198637e to f10193a Compare March 12, 2024 02:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants