-
Notifications
You must be signed in to change notification settings - Fork 4
/
Cargo.toml
50 lines (46 loc) · 1.55 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
[package]
name = "rust-risk"
version = "0.3.0"
authors = ["Mautamu <mautamu@protonmail.com>"]
edition = "2021"
[dependencies]
base64 = {version = "0.20.0", optional=true}
captcha = {version = "0.0.9", optional=true}
chrono = {version = "0.4.19", features = ["serde"]}
git-version = "0.3.4"
time = "0.3"
diesel = { version = "2.2.3", features = ["postgres", "r2d2", "uuid", "chrono", "numeric", "serde_json"] }
hyper = { version = "0.14.16", features = ["full"] }
image = {version = "0.24.1", optional=true}
nsvg = {version = "0.5.1", optional=true}
jsonwebtoken = "8.0.1"
rand = {version = "0.8", features = ["std"]}
rand_chacha="0.3"
reqwest = { version = "0.11.8", default-features = false, features = ["json", "rustls-tls"] }
rocket = {version = "0.5.0-rc.4", features = ["secrets", "json"] }
rocket_sync_db_pools = {version = "0.1.0-rc.3", features=["diesel_postgres_pool"]}
rocket_oauth2 = {git = "https://github.com/mautamu/rocket_oauth2", branch="next", features = ["hyper_rustls_adapter"]}
okapi = {version = "0.7.0-rc.1" }
rocket_okapi = { version = "0.8.0-rc.3", features = ["swagger"] }
schemars = { version = "0.8", features = ["chrono","preserve_order"] }
serde = "1.0"
serde_json = "1.0"
serde_derive = "1.0"
thiserror = "1.0"
toml="0.5.8"
urlencoding = "2.1.0"
rocket-recaptcha-v3 = "0.3.2"
[features]
chaos = []
default = ["risk_reddit"]
risk_discord = []
risk_groupme = []
risk_image = ["image", "nsvg"]
risk_reddit = []
risk_captcha = ["captcha", "base64"]
[[bin]]
name = "rrserver"
path = "src/server.rs"
[[bin]]
name = "rrringmaster"
path = "src/ringmaster.rs"