diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-06-13 06:40:48 +0200 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-06-13 06:40:48 +0200 |
commit | 07c2924e7abc9641df6f6bc6181c912b70904972 (patch) | |
tree | c006b1f66588c1b4e6f1a96c7d6be24c1a2d87a4 /src/config_file.rs | |
parent | feat(cli): Switch to stderrlog, configured by cli options (diff) | |
download | lpm-07c2924e7abc9641df6f6bc6181c912b70904972.tar.gz lpm-07c2924e7abc9641df6f6bc6181c912b70904972.zip |
feat(new): Ensure that file names are ASCII only
This allows us to just query the last chapter instead of storing it.
Diffstat (limited to 'src/config_file.rs')
-rw-r--r-- | src/config_file.rs | 7 |
1 files changed, 0 insertions, 7 deletions
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,17 +2,10 @@ 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, pub chapter: String, |