forked from serenity-rs/poise
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
58 lines (48 loc) · 1.95 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
[package]
authors = ["kangalioo <jannik.a.schaper@web.de>"]
edition = "2018"
name = "poise"
version = "0.4.1"
description = "A Discord bot framework for serenity"
license = "MIT"
repository = "https://github.com/kangalioo/poise/"
[dependencies]
tokio = { version = "1.21.1", default-features = false } # for async in general
futures-core = { version = "0.3.13", default-features = false } # for async in general
futures-util = { version = "0.3.13", default-features = false } # for async in general
once_cell = { version = "1.7.2", default-features = false, features = ["std"] } # to store and set user data
poise_macros = { path = "macros", version = "0.4.0" } # 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
log = { version = "0.4.14", default-features = false } # warning about weird state
derivative = "2.2.0"
parking_lot = "0.12.1"
[dependencies.serenity]
default-features = false
features = ["builder", "client", "gateway", "model", "utils", "collector"]
version = "0.11.5"
# git = "https://github.com/serenity-rs/serenity"
# branch = "current"
# git = "https://github.com/serenity-rs/serenity"
# rev = "2bb9a01bfccd0485ccb7e9f20cce8edff7426eb3"
# git = "https://github.com/kangalioo/serenity"
# branch = "poise-tailored"
# path = "../_downloaded/serenity"
[dev-dependencies]
# For the examples
tokio = { version = "1.21.1", features = ["rt-multi-thread"] }
futures = { version = "0.3.13", default-features = false }
env_logger = "0.9.0"
fluent = "0.16.0"
intl-memoizer = "0.5.1"
fluent-syntax = "0.11"
[features]
default = ["serenity/rustls_backend", "cache", "chrono"]
chrono = ["serenity/chrono"]
cache = ["serenity/cache"]
time = ["serenity/time"]
# No-op feature because serenity/collector is now enabled by default
collector = []
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "doc_nightly"]