/
Cargo.toml
52 lines (49 loc) · 1.47 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
[package]
name = "rr-rs"
version = "0.0.1"
authors = ["Cassandra McCarthy <cassie@7596ff.com>"]
edition = "2018"
description = "A discord bot that does many things besides change the server icon occasionally."
readme = "README.md"
repository = "https://github.com/7596ff/rr-rs"
license-file = "LICENSE"
default-run = "rr-rs"
[dependencies]
# base
dotenv = "0.15"
futures-util = "0.3"
log = "0.4"
pretty_env_logger = "0.4"
tokio = "1"
# twilight
twilight-cache-inmemory = "0.7"
twilight-embed-builder = "0.7"
twilight-gateway = "0.7"
twilight-http = { version = "0.7", features = ["rustls"] }
twilight-mention = "0.7"
twilight-model = "0.7"
twilight-standby = "0.7"
twilight-util = { default-features = false, features = ["permission-calculator"], version = "0.7" }
# discord
base64 = "0.13"
chrono = { version = "0.4", default-features = false, features = ["alloc", "std", "clock", "serde"] }
chrono-humanize = "0.2"
http = "0.2"
hyper = { version = "0.14", default-features = false, features = ["client", "http1"] }
image = "0.23"
lazy_static = { version = "1.4", default-features = false }
rand = "0.8"
regex = "1"
hyper-rustls = "0.22"
serde = "1.0"
serde_json = "1.0"
shellwords = { version = "1.1", default-features = false }
# db
darkredis = "0.8"
sqlx = { version = "0.5", default-features = false, features = ["macros", "migrate", "runtime-tokio-rustls", "postgres", "chrono", "offline"] }
# used by run_migrations
postgres = "0.19"
[[bin]]
name = "migrate_icons"
[[bin]]
name = "run_migrations"