Skip to content

Commit

Permalink
Removed webhook feature and not used dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
AS1100K committed Oct 31, 2024
1 parent ea92914 commit 482930c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [0.4.0] - Unreleased

## Removed
- `webhook` module
- `webhook` module and feature

## Changed
- Add `DiscordHttpResource` once `BReadyEvent` is emitted in `DiscordBotPlugin`
Expand Down
10 changes: 2 additions & 8 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ license = "MIT"
keywords = ["bevy", "plugin", "discord"]

[features]
full = ["webhook", "bot", "http"]
webhook = ["dep:reqwest", "dep:serde", "dep:serde_json"]
full = ["bot", "http"]
bot = ["tokio/sync", "http"]
http = ["dep:serenity"]
bot_cache = ["serenity/cache"]
Expand All @@ -27,17 +26,12 @@ serenity = { version = "0.12", features = [
"model",
], optional = true }
paste = "1"
reqwest = { version = "0.12", default-features = false, features = [
"json",
"rustls-tls",
], optional = true }
serde = { version = "1", features = ["derive"], optional = true }
serde_json = { version = "1", optional = true }
tracing = "0.1"
tokio = { version = "1", features = ["rt-multi-thread", "rt"] }

[dev-dependencies]
bevy = "0.13"
serde_json = "1"

[package.metadata.docs.rs]
all-features = true
Expand Down

0 comments on commit 482930c

Please sign in to comment.