aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFuwn <[email protected]>2025-06-02 13:02:18 +0000
committerFuwn <[email protected]>2025-06-02 13:02:18 +0000
commitdb4636adab3d38dffe1c51e935679518a3ec4803 (patch)
treeb4bea07e9dbd51eb17bb53f4488abb3d9cc52c9e
parentchore: Bump version patch (diff)
downloadseptember-db4636adab3d38dffe1c51e935679518a3ec4803.tar.xz
september-db4636adab3d38dffe1c51e935679518a3ec4803.zip
chore: Bump MSRV
-rw-r--r--Cargo.toml2
-rw-r--r--src/response/configuration.rs10
2 files changed, 8 insertions, 4 deletions
diff --git a/Cargo.toml b/Cargo.toml
index dff4c0a..12d81fd 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -12,7 +12,7 @@ repository = "https://github.com/gemrest/september"
license = "GPL-3.0-only"
keywords = ["rust", "gemini", "proxy"]
categories = ["web-programming", "web-programming::http-server"]
-rust-version = "1.78.0"
+rust-version = "1.83.0"
# Slower builds, faster executables
[profile.release]
diff --git a/src/response/configuration.rs b/src/response/configuration.rs
index 4278516..9c2cacc 100644
--- a/src/response/configuration.rs
+++ b/src/response/configuration.rs
@@ -15,9 +15,13 @@ impl Configuration {
pub const fn is_no_css(&self) -> bool { self.is_no_css }
- pub fn set_proxy(&mut self, is_proxy: bool) { self.is_proxy = is_proxy; }
+ pub const fn set_proxy(&mut self, is_proxy: bool) {
+ self.is_proxy = is_proxy;
+ }
- pub fn set_raw(&mut self, is_raw: bool) { self.is_raw = is_raw; }
+ pub const fn set_raw(&mut self, is_raw: bool) { self.is_raw = is_raw; }
- pub fn set_no_css(&mut self, is_no_css: bool) { self.is_no_css = is_no_css; }
+ pub const fn set_no_css(&mut self, is_no_css: bool) {
+ self.is_no_css = is_no_css;
+ }
}