-
Notifications
You must be signed in to change notification settings - Fork 251
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
feat(shuttle-serenity): make serenity 0.12 default, support poise 0.6, deprecate shuttle-poise #1521
Conversation
Adds `poise` and `poise-0-6` feature flags, with `poise` enabled by default
Thanks for the PR! :D |
Sounds great, all that's needed for that is changing the defaults? So:
|
Rather with a new feature for the older version, and no feature for the current one. See the shuttle-axum crate. |
Ah right, I get what you mean. I've made it match |
Since the changes are so closely related, I don't mind having both changes in one PR. Either way works. |
@supleed2 You can restore shuttle-poise to its state before this PR, change the requirement on Then there is also an opportunity to update the examples to use the newer versions of serenity and poise. 😉 |
…, deprecate shuttle-poise (#1521) * feat(shuttle-poise): Add support for Poise 0.6 Adds `poise` and `poise-0-6` feature flags, with `poise` enabled by default * ci: fix tests with poise feature flags * ci: poise ignore doctest * feat(shuttle-poise): make poise 0.6 default * feat(shuttle-serenity): make serenity 0.12 default * chore(shuttle-poise): deprecate shuttle-poise * docs(shuttle-serenity): mention poise 0.6 * ci: restore poise ci config * chore: bump examples --------- Co-authored-by: jonaro00 <54029719+jonaro00@users.noreply.github.com>
Description of change
poise
andpoise-0-6
feature flags, withpoise
enabled by defaultshuttle-serenity
added to readmeHow has this been tested? (if applicable)
cargo clippy
cargo clippy --no-default-features -F poise-0-6