-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
44 lines (39 loc) · 1.37 KB
/
Copy pathCargo.toml
File metadata and controls
44 lines (39 loc) · 1.37 KB
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
[package]
name = "strecken-info-bot"
version = "0.5.3"
edition = "2021"
authors = ["AdriDoesThings <adri@adridoesthings.com>"]
repository = "https://github.com/AdriDevelopsThings/strecken-info-bot"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[[bin]]
name = "strecken-info-bot"
path = "src/main.rs"
[features]
default = ["mastodon", "telegram"]
mastodon = ["dep:megalodon"]
telegram = ["dep:telexide", "dep:serde"]
[dependencies]
bb8 = "0"
bb8-postgres = "0"
chrono = "0.4"
chrono-tz = "0"
clap = { version = "4", features = ["derive"] }
dotenv = "0"
futures = "0"
html-escape = "0"
megalodon = { version = "0", optional = true }
regex = "1"
reqwest = { version = "0", default-features = false, features = ["rustls-tls"] }
serde = { version = "1", features = ["derive"], optional = true} # serde is needed for telegram user filters
serde_json = "1"
strecken-info = { version = "2", default-features = false, features = ["rustls-tls"] }
telexide = { git = "https://github.com/AdriDevelopsThings/telexide", branch = "fixes", optional = true}
thiserror = "1"
tokio = { version = "1", features = ["full"] }
tokio-postgres = { version = "0", features = ["array-impls", "with-chrono-0_4", "with-serde_json-1"] }
tracing = "0"
tracing-subscriber = { version = "0", features = ["env-filter"] }
typemap_rev = "0.3"
[profile.release]
lto = true
opt-level = 3