-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
80 lines (71 loc) · 1.91 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
[package]
name = "discord_smp_link"
version = "0.1.0"
description = "A link between a discord guild and a google account"
repository = "https://github.com/mrnossiom/discord-smp-link"
keywords = ["discord", "google", "oauth2"]
categories = ["authentication"]
license = "MIT"
edition = "2021"
[features]
cache = ["poise/cache"]
[dependencies]
anyhow = { version = "1", features = ["backtrace"] }
console-subscriber = "0.4"
diesel-async = { version = "0.5", features = ["mysql", "deadpool"] }
diesel_migrations = { version = "2", features = ["mysql"] }
dotenvy = "0.15"
fluent = "0.16"
fluent-syntax = "0.11"
futures = "0.3"
hyper = { version = "0.14", features = ["full"] }
hyper-rustls = { version = "0.24", features = ["rustls-native-certs"] }
intl-memoizer = "0.5"
oauth2 = "4"
poise = "0.6"
rocket = { version = "0.5", features = ["tls"] }
rocket_dyn_templates = { version = "0.2", features = ["tera"] }
rustls = "0.21"
rustls-pemfile = "1"
thiserror = "1"
secrecy = "0.8"
serde = "1"
serde_json = "1"
tokio = { version = "1", features = ["full", "tracing"] }
tokio-rustls = "0.24"
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = [
"registry",
"env-filter",
"json",
] }
unic-langid = { version = "0.9", features = ["macros"] }
uuid = { version = "1", features = ["v4"] }
url = "2"
pin-project = "1"
[dependencies.diesel]
version = "2"
default-features = false
features = ["mysql"]
[dependencies.reqwest]
version = "0.11"
default-features = false
features = ["rustls-tls-native-roots"]
[lints]
[lints.rust]
[lints.clippy]
pedantic = { level = "warn", priority = -1 }
nursery = { level = "warn", priority = -1 }
cargo = { level = "warn", priority = -1 }
missing_docs_in_private_items = "warn"
unwrap_used = "warn"
multiple_crate_versions = "allow"
redundant_pub_crate = "allow"
[lints.rustdoc]
broken_intra_doc_links = "warn"
[profile.release]
strip = true
opt-level = 3
lto = true
[profile.dev.build-override]
opt-level = 3