-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathCargo.toml
More file actions
118 lines (101 loc) · 2.84 KB
/
Copy pathCargo.toml
File metadata and controls
118 lines (101 loc) · 2.84 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
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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
[package]
name = "hauchiwa"
version = "0.22.1"
edition = "2024"
authors = ["Maciej Jur <maciej@kamoshi.org>"]
keywords = ["ssg"]
license = "GPL-2.0-or-later"
description = "Flexible static website generator library with incremental rebuilds and cached image optimization"
repository = "https://github.com/kamoshi/hauchiwa"
homepage = "https://hauchiwa.kamoshi.org"
[features]
default = ["grass", "image", "tokio", "live", "server"]
grass = ["dep:grass"]
image = ["dep:image"]
tokio = ["dep:tokio"]
live = ["dep:notify", "dep:notify-debouncer-full", "dep:tungstenite"]
server = ["tokio", "dep:axum", "dep:tower-http"]
pagefind = ["tokio", "dep:pagefind"]
sitemap = ["dep:sitemap-rs"]
minijinja = ["dep:minijinja"]
logging = ["dep:tracing-subscriber"]
rolldown = ["dep:rolldown"]
[dependencies]
camino = "1.2"
ciborium = "0.2.2"
gray_matter = { version = "0.3", default-features = false, features = ["yaml"] }
glob = "0.3"
rayon = "1.11"
serde = { version = "1.0", default-features = false, features = ["derive"] }
serde_json = "1.0"
blake3 = { version = "1.8", features = ["rayon", "mmap"] }
petgraph = "0.8.3"
gitscan = "0.1.0"
# Error handling
anyhow = "1.0"
thiserror = "2.0"
# CLI
indicatif = { version = "0.18", features = ["rayon"] }
tracing = "0.1"
tracing-indicatif = "0.3"
# Feature = "styles"
[dependencies.grass]
version = "0.13"
optional = true
default-features = false
features = ["random"]
# Feature = "images"
[dependencies.image]
version = "0.25"
optional = true
default-features = false
features = ["png", "jpeg", "webp", "avif"]
# Feature = "rolldown"
[dependencies.rolldown]
version = "1.0"
optional = true
# Feature = "sitemap"
[dependencies.sitemap-rs]
version = "0.4.0"
optional = true
# Feature = "pagefind"
[dependencies.pagefind]
version = "1.5.1"
optional = true
default-features = false
# Feature = "reload"
[dependencies.notify]
version = "8.0"
optional = true
[dependencies.notify-debouncer-full]
version = "0.7"
optional = true
default-features = false
[dependencies.tungstenite]
version = "0.30"
optional = true
# Feature = "server"
[dependencies.axum]
version = "0.8"
optional = true
default-features = false
features = ["tokio", "http1"]
[dependencies.tokio]
version = "1.48"
optional = true
default-features = false
features = ["rt"]
[dependencies.tower-http]
version = "0.7"
optional = true
default-features = false
features = ["fs"]
# Feature = "minijinja"
[dependencies.minijinja]
version = "2"
optional = true
# Feature = "logging"
[dependencies.tracing-subscriber]
version = "0.3"
optional = true
features = ["env-filter", "fmt", "registry", "ansi"]