Skip to content

Commit

Permalink
Version 0.4.0 (#35)
Browse files Browse the repository at this point in the history
* Fix a tiny little goof

* Update version definitions

* Update copyright notice

* Version 0.4.0
  • Loading branch information
tonkku107 authored Jun 14, 2024
1 parent c5a0ed0 commit 85df93a
Show file tree
Hide file tree
Showing 25 changed files with 40 additions and 40 deletions.
26 changes: 13 additions & 13 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,24 @@ name = "slashook"
description = "A webhook-based Discord slash command library"
keywords = ["discord", "webhook", "slash-commands"]
categories = ["api-bindings"]
version = "0.3.0"
version = "0.4.0"
edition = "2021"
authors = ["Tonkku"]
repository = "https://github.com/tonkku107/slashook"
license = "MIT OR Apache-2.0"

[dependencies]
slashook-macros = { version = "=0.3.0", path = "./macros" }
rocket = "0.5.0"
serde = "^1.0.159"
serde_json = "^1.0.95"
serde_repr = "^0.1.12"
bitflags = "^2.2.1"
reqwest = { version = "^0.11.16", features = ["json", "multipart"] }
ring = "^0.16.20"
slashook-macros = { version = "=0.4.0", path = "./macros" }
rocket = "^0.5.1"
serde = "^1.0.203"
serde_json = "^1.0.117"
serde_repr = "^0.1.19"
bitflags = "^2.5.0"
reqwest = { version = "^0.12.4", features = ["json", "multipart"] }
ring = "^0.17.8"
hex = "^0.4.3"
chrono = { version = "^0.4.24", features = ["serde"] }
thiserror = "^1.0.40"
anyhow = "^1.0.70"
chrono = { version = "^0.4.38", features = ["serde"] }
thiserror = "^1.0.61"
anyhow = "^1.0.86"
common-multipart-rfc7578 = "^0.6.0"
tokio-util = { version = "^0.7.7", features = ["io"] }
tokio-util = { version = "^0.7.11", features = ["io"] }
8 changes: 4 additions & 4 deletions macros/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "slashook-macros"
description = "Macros for slashook"
categories = ["development-tools"]
version = "0.3.0"
version = "0.4.0"
edition = "2021"
authors = ["Tonkku"]
repository = "https://github.com/tonkku107/slashook"
Expand All @@ -12,7 +12,7 @@ license = "MIT OR Apache-2.0"
proc-macro = true

[dependencies]
syn = { version = "^2.0.15", features = ["full"] }
quote = "^1.0.26"
proc-macro2 = "^1.0.56"
syn = { version = "^2.0.66", features = ["full"] }
quote = "^1.0.36"
proc-macro2 = "^1.0.85"
devise = "^0.4.1"
2 changes: 1 addition & 1 deletion macros/src/attr_parser.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023 slashook Developers
// Copyright 2024 slashook Developers
//
// Licensed under the Apache License, Version 2.0, <LICENSE-APACHE or
// http://apache.org/licenses/LICENSE-2.0> or the MIT license <LICENSE-MIT or
Expand Down
2 changes: 1 addition & 1 deletion macros/src/converter.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023 slashook Developers
// Copyright 2024 slashook Developers
//
// Licensed under the Apache License, Version 2.0, <LICENSE-APACHE or
// http://apache.org/licenses/LICENSE-2.0> or the MIT license <LICENSE-MIT or
Expand Down
2 changes: 1 addition & 1 deletion macros/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023 slashook Developers
// Copyright 2024 slashook Developers
//
// Licensed under the Apache License, Version 2.0, <LICENSE-APACHE or
// http://apache.org/licenses/LICENSE-2.0> or the MIT license <LICENSE-MIT or
Expand Down
2 changes: 1 addition & 1 deletion src/commands/handler.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023 slashook Developers
// Copyright 2024 slashook Developers
//
// Licensed under the Apache License, Version 2.0, <LICENSE-APACHE or
// http://apache.org/licenses/LICENSE-2.0> or the MIT license <LICENSE-MIT or
Expand Down
2 changes: 1 addition & 1 deletion src/commands/mod.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023 slashook Developers
// Copyright 2024 slashook Developers
//
// Licensed under the Apache License, Version 2.0, <LICENSE-APACHE or
// http://apache.org/licenses/LICENSE-2.0> or the MIT license <LICENSE-MIT or
Expand Down
2 changes: 1 addition & 1 deletion src/commands/responder.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023 slashook Developers
// Copyright 2024 slashook Developers
//
// Licensed under the Apache License, Version 2.0, <LICENSE-APACHE or
// http://apache.org/licenses/LICENSE-2.0> or the MIT license <LICENSE-MIT or
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023 slashook Developers
// Copyright 2024 slashook Developers
//
// Licensed under the Apache License, Version 2.0, <LICENSE-APACHE or
// http://apache.org/licenses/LICENSE-2.0> or the MIT license <LICENSE-MIT or
Expand Down
2 changes: 1 addition & 1 deletion src/rest/mod.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023 slashook Developers
// Copyright 2024 slashook Developers
//
// Licensed under the Apache License, Version 2.0, <LICENSE-APACHE or
// http://apache.org/licenses/LICENSE-2.0> or the MIT license <LICENSE-MIT or
Expand Down
2 changes: 1 addition & 1 deletion src/structs/applications.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023 slashook Developers
// Copyright 2024 slashook Developers
//
// Licensed under the Apache License, Version 2.0, <LICENSE-APACHE or
// http://apache.org/licenses/LICENSE-2.0> or the MIT license <LICENSE-MIT or
Expand Down
2 changes: 1 addition & 1 deletion src/structs/channels.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023 slashook Developers
// Copyright 2024 slashook Developers
//
// Licensed under the Apache License, Version 2.0, <LICENSE-APACHE or
// http://apache.org/licenses/LICENSE-2.0> or the MIT license <LICENSE-MIT or
Expand Down
2 changes: 1 addition & 1 deletion src/structs/components.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023 slashook Developers
// Copyright 2024 slashook Developers
//
// Licensed under the Apache License, Version 2.0, <LICENSE-APACHE or
// http://apache.org/licenses/LICENSE-2.0> or the MIT license <LICENSE-MIT or
Expand Down
2 changes: 1 addition & 1 deletion src/structs/embeds.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023 slashook Developers
// Copyright 2024 slashook Developers
//
// Licensed under the Apache License, Version 2.0, <LICENSE-APACHE or
// http://apache.org/licenses/LICENSE-2.0> or the MIT license <LICENSE-MIT or
Expand Down
2 changes: 1 addition & 1 deletion src/structs/emojis.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023 slashook Developers
// Copyright 2024 slashook Developers
//
// Licensed under the Apache License, Version 2.0, <LICENSE-APACHE or
// http://apache.org/licenses/LICENSE-2.0> or the MIT license <LICENSE-MIT or
Expand Down
2 changes: 1 addition & 1 deletion src/structs/guilds.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023 slashook Developers
// Copyright 2024 slashook Developers
//
// Licensed under the Apache License, Version 2.0, <LICENSE-APACHE or
// http://apache.org/licenses/LICENSE-2.0> or the MIT license <LICENSE-MIT or
Expand Down
2 changes: 1 addition & 1 deletion src/structs/interactions.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023 slashook Developers
// Copyright 2024 slashook Developers
//
// Licensed under the Apache License, Version 2.0, <LICENSE-APACHE or
// http://apache.org/licenses/LICENSE-2.0> or the MIT license <LICENSE-MIT or
Expand Down
2 changes: 1 addition & 1 deletion src/structs/invites.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023 slashook Developers
// Copyright 2024 slashook Developers
//
// Licensed under the Apache License, Version 2.0, <LICENSE-APACHE or
// http://apache.org/licenses/LICENSE-2.0> or the MIT license <LICENSE-MIT or
Expand Down
2 changes: 1 addition & 1 deletion src/structs/messages.rs
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ pub enum AllowedMentionType {
/// Allowed to mention users
USERS,
/// Allowed to mention @everyone and @here
CHANNELS
EVERYONE
}

/// Discord Role Subscription Data Object
Expand Down
2 changes: 1 addition & 1 deletion src/structs/mod.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023 slashook Developers
// Copyright 2024 slashook Developers
//
// Licensed under the Apache License, Version 2.0, <LICENSE-APACHE or
// http://apache.org/licenses/LICENSE-2.0> or the MIT license <LICENSE-MIT or
Expand Down
2 changes: 1 addition & 1 deletion src/structs/monetization.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023 slashook Developers
// Copyright 2024 slashook Developers
//
// Licensed under the Apache License, Version 2.0, <LICENSE-APACHE or
// http://apache.org/licenses/LICENSE-2.0> or the MIT license <LICENSE-MIT or
Expand Down
2 changes: 1 addition & 1 deletion src/structs/permissions.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023 slashook Developers
// Copyright 2024 slashook Developers
//
// Licensed under the Apache License, Version 2.0, <LICENSE-APACHE or
// http://apache.org/licenses/LICENSE-2.0> or the MIT license <LICENSE-MIT or
Expand Down
2 changes: 1 addition & 1 deletion src/structs/stickers.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023 slashook Developers
// Copyright 2024 slashook Developers
//
// Licensed under the Apache License, Version 2.0, <LICENSE-APACHE or
// http://apache.org/licenses/LICENSE-2.0> or the MIT license <LICENSE-MIT or
Expand Down
2 changes: 1 addition & 1 deletion src/structs/users.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023 slashook Developers
// Copyright 2024 slashook Developers
//
// Licensed under the Apache License, Version 2.0, <LICENSE-APACHE or
// http://apache.org/licenses/LICENSE-2.0> or the MIT license <LICENSE-MIT or
Expand Down
2 changes: 1 addition & 1 deletion src/structs/utils.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023 slashook Developers
// Copyright 2024 slashook Developers
//
// Licensed under the Apache License, Version 2.0, <LICENSE-APACHE or
// http://apache.org/licenses/LICENSE-2.0> or the MIT license <LICENSE-MIT or
Expand Down

0 comments on commit 85df93a

Please sign in to comment.