-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
66 lines (56 loc) · 1.71 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
[package]
name = "bevy-discord"
description = "A bevy plugin for sending and receiving discord messages."
version = "0.6.0-rc.1"
edition = "2021"
authors = ["Aditya Kumar <[email protected]>"]
readme = "README.md"
repository = "https://github.com/AS1100K/bevy-discord"
publish = true
license = "MIT"
keywords = ["bevy", "plugin", "discord"]
[features]
full = ["bot", "http", "rich_presence"]
bot = ["tokio/sync", "http"]
http = ["dep:serenity"]
bot_cache = ["serenity/cache"]
rich_presence = ["dep:discord-sdk", "dep:async-trait"]
rich_presence_local_testing = ["discord-sdk/local-testing"]
# Don't use this feature anywhere other than cargo doc, examples and rustdoc
docsrs = []
[dependencies]
bevy_app = { version = "0.15", default-features = false }
bevy_ecs = { version = "0.15", default-features = false }
flume = "0.11"
serenity = { version = "0.12", features = [
"gateway",
"framework",
"model",
], optional = true }
paste = "1"
tracing = "0.1"
tokio = { version = "1", features = ["rt-multi-thread", "rt"] }
discord-sdk = { version = "0.4", optional = true }
async-trait = { version = "0.1", optional = true }
[dev-dependencies]
bevy = "0.15"
serde_json = "1"
[package.metadata.cargo-feature-combinations]
skip_feature_sets = [["bot", "docsrs"]]
denylist = ["default", "full", "bot_cache", "rich_presence_local_testing"]
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
cargo-args = ["-Zunstable-options", "-Zrustdoc-scrape-examples"]
[[example]]
name = "basic_bot"
doc-scrape-examples = true
[[example]]
name = "reactions"
doc-scrape-examples = true
[[example]]
name = "slash_commands"
doc-scrape-examples = true
[[example]]
name = "rich_presence"
doc-scrape-examples = true