crabmail

Static HTML email archive viewer in Rust
git clone git://git.alexwennerberg.com/crabmail
Log | Files | Refs | README | LICENSE

commit 0aa13a00f893c7666f3ef992d00043da0814460d
parent 350de66bc83dab23ef36a950a378741fa3822d68
Author: alex wennerberg <alex@alexwennerberg.com>
Date:   Wed, 12 Jan 2022 17:21:12 -0800

clarify cofnig

Diffstat:
Msrc/config.rs | 14+++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/src/config.rs b/src/config.rs @@ -13,10 +13,10 @@ use std::path::{Path, PathBuf}; pub struct Config { pub email_fmt: String, pub base_url: String, - pub out_dir: PathBuf, - pub relative_times: bool, - pub include_raw: bool, - pub now: String, + pub out_dir: PathBuf, // TODO rem + pub relative_times: bool, // TODO rem + pub include_raw: bool, // TODO rem + pub now: String, // TODO rem pub subsections: Vec<Subsection>, } @@ -32,10 +32,10 @@ impl Config { #[derive(Default, Debug)] pub struct Subsection { - pub name: String, - pub title: String, // "something mailing list" + pub name: String, // something + pub title: String, // something mailing list pub email: String, - pub description: String, // urls allowed + pub description: String, } impl Subsection {