Skip to content

Commit 4f5f955

Browse files
committed
Version bump and upgrade to rust edition 2024
1 parent 69de7f2 commit 4f5f955

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

Cargo.toml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
[package]
22
name = "koshelf"
3-
version = "1.0.1"
4-
edition = "2021"
3+
version = "1.0.2"
4+
description = "Transform your KOReader library into a beautiful reading dashboard with statistics."
5+
repository = "https://github.com/paviro/KOShelf"
6+
license = "EUPL-1.2 license"
7+
authors = ["Paul-Vincent Roll"]
8+
edition = "2024"
59
build = "build.rs"
610

711
[dependencies]

src/site_generator.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ impl SiteGenerator {
279279
};
280280

281281
// Calculate session statistics if we have book stats
282-
let session_stats = if let (Some(stats), Some(ref book_stat)) = (stats_data, &book_stats) {
282+
let session_stats = if let (Some(stats), Some(book_stat)) = (stats_data, &book_stats) {
283283
Some(book_stat.calculate_session_stats(&stats.page_stats))
284284
} else {
285285
None

0 commit comments

Comments
 (0)