Skip to content

Commit 8ca79a9

Browse files
committed
Upgrade to Rust edition 2024
1 parent 7fa1d56 commit 8ca79a9

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

.rustfmt.toml

+1
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ newline_style = "Unix"
44
use_field_init_shorthand = true
55
use_small_heuristics = "Max"
66
wrap_comments = true
7+
style_edition = "2021"

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ pr-run-mode = "plan"
2727
name = "hinoki"
2828
description = "A simple, yet very flexible static site generator."
2929
version.workspace = true
30-
edition = "2021"
30+
edition = "2024"
3131
license = "AGPL-3.0-only"
3232
repository = "https://github.com/jplatte/hinoki"
3333

components/core/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "hinoki_core"
33
version.workspace = true
4-
edition = "2021"
4+
edition = "2024"
55

66
[features]
77
default = ["markdown", "syntax-highlighting", "datetime"]

components/dev_server/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "hinoki_dev_server"
33
version.workspace = true
4-
edition = "2021"
4+
edition = "2024"
55

66
[dependencies]
77
anyhow.workspace = true

0 commit comments

Comments
 (0)