-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathCargo.toml
31 lines (28 loc) · 1021 Bytes
/
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
[package]
name = "rustbot"
license = "MIT/Apache-2.0"
authors = [ "Conner Bradley <bradley@advtech.ca>" ]
description = "A discord bot that runs whatever rust code is thrown at it"
version = "0.1.0"
edition = "2021"
build = "build.rs"
[lib]
name = "rustbot"
[dependencies]
tracing = "0.1.37"
tracing-subscriber = "0.3.16"
tokio = { version = "1.16", features = ["macros", "signal", "rt-multi-thread"] }
dotenv = { version = "0.15.0" }
serenity = "0.11.5"
regex = "1.7.3"
base64 = "0.20.0"
process_control = "4.0"
cached = "0.42.0"
lazy_static = "1.4.0"
[package.metadata.generate-rpm]
assets = [
{ source = "target/x86_64-unknown-linux-musl/release/*rustbot", dest = "/opt/rustbot", mode = "0755" },
{ source = "target/x86_64-unknown-linux-musl/release/assets/templates/*", dest = "/opt/rustbot/assets/templates", mode = "0644" },
{ source = "LICENSE*", dest = "/opt/rustbot", doc = true, mode = "0644" },
{ source = "package-readme.txt", dest = "/opt/rustbot/README.txt", doc = true, mode = "0644" }
]