aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuben Beltran del Rio <git@r.bdr.sh>2025-03-06 20:30:40 +0100
committerRuben Beltran del Rio <git@r.bdr.sh>2025-03-06 21:02:36 +0100
commit5b14e6fb40d7e5d7ae653402097caf6cfea14aa6 (patch)
treee1a6d02e398e282818fcbeb4f799194071326d3a
parentcf0bf125dbd9513aeae7cdb28bae20cd7fb51ca0 (diff)
Update to 2024 edition
-rw-r--r--Cargo.lock6
-rw-r--r--Cargo.toml6
-rw-r--r--src/file_handler/file_strategies/gemini.rs2
3 files changed, 7 insertions, 7 deletions
diff --git a/Cargo.lock b/Cargo.lock
index 27d2f31..0b50a3f 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -4,13 +4,13 @@ version = 4
[[package]]
name = "gema_texto"
-version = "1.0.2"
+version = "1.0.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f6b49f15786af45ac139d8b8cbdcbb9f601d974a37751a5bf9a3453b4d3eed40"
+checksum = "ff101c368b563c1aace5a5f18255a52fcd150b6e97fadd5dd970b6f912f66571"
[[package]]
name = "page"
-version = "1.4.3"
+version = "1.4.4"
dependencies = [
"gema_texto",
"test_utilities",
diff --git a/Cargo.toml b/Cargo.toml
index 98fc34e..3ff7d76 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,14 +1,14 @@
[package]
name = "page"
-version = "1.4.3"
-edition = "2021"
+version = "1.4.4"
+edition = "2024"
license = "AGPL-3.0-or-later"
description = "Command line tool to generate a static website and gemini capsule from a directory with gemtext."
homepage = "https://r.bdr.sh/page.html"
authors = ["Rubén Beltrán del Río <page@r.bdr.sh>"]
[dependencies]
-gema_texto = "1.0.2"
+gema_texto = "1.0.3"
[dev-dependencies]
test_utilities = { path = "test_utilities" }
diff --git a/src/file_handler/file_strategies/gemini.rs b/src/file_handler/file_strategies/gemini.rs
index 4596378..5388769 100644
--- a/src/file_handler/file_strategies/gemini.rs
+++ b/src/file_handler/file_strategies/gemini.rs
@@ -1,6 +1,6 @@
pub struct Strategy {}
-use std::fs::{create_dir_all, read_to_string, File as IOFile};
+use std::fs::{File as IOFile, create_dir_all, read_to_string};
use std::io::Write;
use std::path::Path;