Skip to content

Commit

Permalink
The most significant changes include the update of the package versio…
Browse files Browse the repository at this point in the history
…n in the `Cargo.toml` file, the removal of a comment line in the `create_components.rs` file, and the update of the `serenity` dependency version in the `lib.rs` file.

1. The `Cargo.toml` file has been updated to include a new author "nshout" and the version of the package has been updated from "0.12.0-rc2" to "0.13.0-alpha". This change indicates the addition of a new contributor to the project and the progression of the package to a new version. (See `Cargo.toml`)

2. A comment line has been removed from the `new` function within the `CreateButton` implementation in the `create_components.rs` file. This change suggests a cleanup or clarification in the code documentation. (See `create_components.rs`)

3. The version of the `serenity` dependency in the documentation has been updated from "0.11" to "0.13" in the `lib.rs` file. This change shows an update in the dependency, which could potentially affect the functionality of the package. (See `lib.rs`)
  • Loading branch information
nshout committed Dec 3, 2023
1 parent 2cb435f commit 5570ca9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
authors = ["Alex M. M. <[email protected]>"]
authors = ["nshout", "Alex M. M. <[email protected]>"]
description = "A Rust library for the Discord API."
documentation = "https://docs.rs/serenity"
homepage = "https://github.com/serenity-rs/serenity"
Expand All @@ -8,7 +8,7 @@ license = "ISC"
name = "serenity"
readme = "README.md"
repository = "https://github.com/serenity-rs/serenity.git"
version = "0.12.0-rc2"
version = "0.13.0-alpha"
edition = "2021"
rust-version = "1.74"
include = ["src/**/*", "LICENSE.md", "README.md", "CHANGELOG.md", "build.rs"]
Expand Down
2 changes: 0 additions & 2 deletions src/builder/create_components.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,6 @@ impl CreateButton {

/// Creates a normal button with the given custom ID. You must also set [`Self::label`] and/or
/// [`Self::emoji`] after this.
///
/// Clicking this button will not trigger an interaction event in your bot.
pub fn new(custom_id: impl Into<String>) -> Self {
Self(Button {
kind: ComponentType::Button,
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
//!
//! ```toml
//! [dependencies]
//! serenity = "0.11"
//! serenity = "0.13"
//! ```
//!
//! [`Cache`]: crate::cache::Cache
Expand Down

0 comments on commit 5570ca9

Please sign in to comment.