♻️ Simple & Efficient Gemini-to-HTTP Proxy fuwn.net
proxy gemini-protocol protocol gemini http rust
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

format(configuration): reformat using rustfmt rules

Fuwn 01ec3ddf de04ac86

+8 -20
+8 -20
src/response/configuration.rs
··· 1 1 pub struct Configuration { 2 - is_proxy: bool, 3 - is_raw: bool, 2 + is_proxy: bool, 3 + is_raw: bool, 4 4 is_no_css: bool, 5 5 } 6 6 ··· 9 9 Self { is_proxy: false, is_raw: false, is_no_css: false } 10 10 } 11 11 12 - pub const fn is_proxy(&self) -> bool { 13 - self.is_proxy 14 - } 12 + pub const fn is_proxy(&self) -> bool { self.is_proxy } 15 13 16 - pub const fn is_raw(&self) -> bool { 17 - self.is_raw 18 - } 14 + pub const fn is_raw(&self) -> bool { self.is_raw } 19 15 20 - pub const fn is_no_css(&self) -> bool { 21 - self.is_no_css 22 - } 16 + pub const fn is_no_css(&self) -> bool { self.is_no_css } 23 17 24 - pub fn set_proxy(&mut self, is_proxy: bool) { 25 - self.is_proxy = is_proxy; 26 - } 18 + pub fn set_proxy(&mut self, is_proxy: bool) { self.is_proxy = is_proxy; } 27 19 28 - pub fn set_raw(&mut self, is_raw: bool) { 29 - self.is_raw = is_raw; 30 - } 20 + pub fn set_raw(&mut self, is_raw: bool) { self.is_raw = is_raw; } 31 21 32 - pub fn set_no_css(&mut self, is_no_css: bool) { 33 - self.is_no_css = is_no_css; 34 - } 22 + pub fn set_no_css(&mut self, is_no_css: bool) { self.is_no_css = is_no_css; } 35 23 }