From 07c2924e7abc9641df6f6bc6181c912b70904972 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Thu, 13 Jun 2024 06:40:48 +0200 Subject: feat(new): Ensure that file names are ASCII only This allows us to just query the last chapter instead of storing it. --- src/config_file.rs | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/config_file.rs') diff --git a/src/config_file.rs b/src/config_file.rs index 2233b36..2244893 100644 --- a/src/config_file.rs +++ b/src/config_file.rs @@ -2,16 +2,9 @@ use serde_derive::{Deserialize, Serialize}; #[derive(Deserialize, Serialize)] pub struct Config { - pub last_chapter: LastChapter, pub templates: Template, } -#[derive(Deserialize, Serialize)] -pub struct LastChapter { - pub user_name: String, - pub number: u32, -} - #[derive(Deserialize, Serialize)] pub struct Template { pub section: String, -- cgit 1.4.1