This repository has been archived by the owner on Mar 24, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
95 lines (83 loc) · 2.25 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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
[package]
name = "highlights"
version = "2.1.6"
authors = ["ThatsNoMoon <[email protected]>"]
repository = "https://github.com/ThatsNoMoon/highlights"
license = "OSL-3.0"
edition = "2021"
[features]
default = ["bot", "monitoring", "reporting", "sqlite", "backup", "postgresql"]
bot = [
"indoc",
"lazy-regex",
"serde_json",
"serenity/builder",
"serenity/cache",
"serenity/client",
"serenity/collector",
"serenity/gateway",
"serenity/http",
"serenity/unstable_discord_api",
]
monitoring = [
"opentelemetry",
"opentelemetry-jaeger",
"tracing-opentelemetry",
]
reporting = ["reqwest"]
backup = ["chrono", "sqlite", "rusqlite"]
sqlite = ["sea-orm/sqlx-sqlite", "sea-orm-migration/sqlx-sqlite"]
postgresql = ["sea-orm/sqlx-postgres", "sea-orm-migration/sqlx-postgres"]
[dependencies]
anyhow = "1.0"
chrono = { version = "0.4", optional = true }
futures-util = "0.3"
indoc = { version = "2.0", optional = true }
lazy-regex = { version = "2.2", optional = true }
once_cell = "1.4"
rand = "0.8"
serde = { version = "1.0", features = ["derive"] }
serde_json = { version = "1.0", optional = true }
tinyvec = { version = "1.5", features = ["alloc"] }
tracing = "0.1"
tracing-opentelemetry = { version = "0.18", optional = true }
tracing-subscriber = { version = "0.3", features = ["json"] }
humantime-serde = "1.1.1"
[dependencies.config]
version = "0.13"
default-features = false
features = ["toml"]
[dependencies.opentelemetry]
version = "0.18"
features = ["rt-tokio"]
optional = true
[dependencies.opentelemetry-jaeger]
version = "0.17"
features = ["rt-tokio"]
optional = true
[dependencies.reqwest]
version = "0.11"
default-features = false
features = ["blocking", "rustls-tls", "json"]
optional = true
[dependencies.rusqlite]
version = "0.27"
features = ["bundled", "backup"]
optional = true
[dependencies.serenity]
version = "0.11"
default-features = false
features = ["model", "rustls_backend"]
[dependencies.sea-orm]
version = "0.11"
default-features = false
features = ["macros", "runtime-tokio-rustls"]
[dependencies.sea-orm-migration]
version = "0.11"
features = ["runtime-tokio-rustls"]
[dependencies.tokio]
version = "1.0"
features = ["macros", "rt", "rt-multi-thread", "time", "fs"]
[dependencies.url]
version = "2.2"
features = ["serde"]