Skip to content

Commit

Permalink
Bump to 0.6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
kangalio committed Jan 11, 2024
1 parent 6167311 commit 8c3a649
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 5 deletions.
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,21 @@ this find-and-replace regex (VSCode flavor):
- Replace: [@$1](https://github.com/$1)
-->

# 0.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 [@kangalio](https://github.com/kangalio)!

# 0.6.0

Now with serenity 0.12!
Expand Down
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
authors = ["kangalio <[email protected]>"]
edition = "2018"
name = "poise"
version = "0.6.1-rc1"
version = "0.6.1"
rust-version = "1.74.0"
description = "A Discord bot framework for serenity"
license = "MIT"
Expand All @@ -11,7 +11,7 @@ repository = "https://github.com/serenity-rs/poise/"
[dependencies]
tokio = { version = "1.25.1", default-features = false } # for async in general
futures-util = { version = "0.3.13", default-features = false } # for async in general
poise_macros = { path = "macros", version = "0.6.1-rc1" } # remember to update the version on changes!
poise_macros = { path = "macros", version = "0.6.1" } # remember to update the version on changes!
async-trait = { version = "0.1.48", default-features = false } # various traits
regex = { version = "1.6.0", default-features = false, features = ["std"] } # prefix
tracing = { version = "0.1.40", features = ["log"] } # warning about weird state
Expand Down
2 changes: 1 addition & 1 deletion macros/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "poise_macros"
version = "0.6.1-rc1" # remember to update the version
version = "0.6.1" # remember to update the version
authors = ["kangalio <[email protected]>"]
edition = "2018"
description = "Internal macro implementation crate of poise"
Expand Down

0 comments on commit 8c3a649

Please sign in to comment.