summaryrefslogtreecommitdiff
path: root/src/config.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/config.rs')
-rw-r--r--src/config.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/config.rs b/src/config.rs
index f101456..8dc8a6f 100644
--- a/src/config.rs
+++ b/src/config.rs
@@ -2,10 +2,10 @@ use serde::Deserialize;
use std::fs;
#[derive(Deserialize, Debug)]
-struct Config {
- title: String,
- url: String,
- author: String,
+pub struct Config {
+ pub title: String,
+ pub url: String,
+ pub author: String,
}
pub fn parse_file(filename: &str) {