-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
67 lines (62 loc) · 1.71 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
[package]
name = "waifu-calendar"
version = "0.1.0"
edition = "2021"
build = "build.rs"
authors = ["Rosa Richter"]
description = "A tool to fetch your favorite characters' birthdays from AniList"
repository = "https://github.com/Cantido/waifu-calendar"
license = "AGPL-3.0-or-later"
keywords = ["anime", "calendar"]
# No categories seem to apply :(
[[bin]]
name = "waifu-server"
required-features = ["http"]
[[bin]]
name = "waifucal"
required-features = ["cli"]
[features]
default = ["cli", "http"]
http = [
"ics",
"dep:axum",
"dep:env_logger",
"dep:handlebars",
"dep:moka",
"dep:recloser",
"dep:tokio",
"dep:tower-http",
]
ics = [
"dep:ics",
"dep:uuid"
]
cli = [
"ics",
"dep:clap",
"dep:tokio",
"dep:shadow-rs"
]
[dependencies]
anyhow = "1.0.95"
axum = { version = "0.8.1", optional = true }
clap = { version = "4.5.23", features = ["derive"], optional = true }
env_logger = { version = "0.11.6", optional = true }
graphql_client = "0.14.0"
handlebars = { version = "6.2.0", features = ["dir_source"], optional = true }
ics = { version = "0.5.8", optional = true }
log = "0.4.22"
moka = { version = "0.12.10", features = ["future"], optional = true }
recloser = { version = "1.1.1", optional = true }
reqwest = { version = "0.12.9", features = ["json"] }
serde = { version = "1.0.217", features = ["derive"] }
shadow-rs = { version = "0.37.0", optional = true }
thiserror = "2.0.9"
time = { version = "0.3.37", features = ["serde"] }
tokio = { version = "1.42.0", features = ["full"], optional = true }
tower-http = { version = "0.6.2", features = ["fs"], optional = true }
tz-rs = "0.7.0"
tzdb = "0.7.2"
uuid = { version = "1.11.0", features = ["v7"], optional = true }
[build-dependencies]
shadow-rs = "0.37.0"