-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
34 lines (30 loc) · 1.11 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
[package]
name = "embedbot-rs"
version = "0.6.0"
authors = ["Liss Heidrich"]
resolver = "2"
edition = "2021"
[dependencies]
anyhow = "1.0.95"
thiserror = "2.0.9"
clap = { version = "4.5.23", features = ["derive", "string", "cargo"] }
tracing = "0.1.41"
tracing-subscriber = "0.3.19"
reqwest = { version = "0.12.9", default-features = false, features = ["rustls-tls", "json"] }
serde = { version = "1.0.216", features = ["derive"] }
serde_json = "1.0.134"
toml = "0.8.19"
tokio = { version = "1.42.0", features = ["macros", "rt-multi-thread", "signal"] }
url = "2.5.4"
serenity = { version = "0.12.4", default-features = false, features = ["rustls_backend", "model", "client", "gateway"] }
itertools = "0.13.0"
v_escape = "0.18.0"
scraper = { version = "0.22.0", optional = true }
json_nav = { git = "https://github.com/Clueliss/json_nav", optional = true }
headless_chrome = { version = "1.0.10", optional = true }
[features]
default = ["reddit", "ninegag", "twitter", "implicit-auto-embed"]
reddit = ["dep:json_nav"]
ninegag = ["dep:scraper", "dep:json_nav"]
twitter = ["dep:scraper", "dep:headless_chrome"]
implicit-auto-embed = []