From 43522ef7898c60ffd3e7c5ff056fd765635bbc5c Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Sat, 24 Aug 2024 11:27:31 +0200 Subject: fix(config): Check for wrong keys in the config file --- src/config/mod.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/config/mod.rs') diff --git a/src/config/mod.rs b/src/config/mod.rs index 26d27eb..3d0d0b5 100644 --- a/src/config/mod.rs +++ b/src/config/mod.rs @@ -10,7 +10,10 @@ use std::path::PathBuf; +use bytes::Bytes; + mod default; +mod definitions; pub mod file_system; pub struct Config { @@ -24,7 +27,7 @@ pub struct UpdateConfig { pub max_backlog: u32, } pub struct DownloadConfig { - pub max_cache_size: u64, + pub max_cache_size: Bytes, } pub struct SelectConfig { pub playback_speed: f64, -- cgit 1.4.1