diff --git a/crates/ptth_server/src/lib.rs b/crates/ptth_server/src/lib.rs index 5f5ac90..0845712 100644 --- a/crates/ptth_server/src/lib.rs +++ b/crates/ptth_server/src/lib.rs @@ -40,6 +40,7 @@ #![allow (clippy::mut_mut)] use std::{ + collections::*, future::Future, path::PathBuf, sync::Arc, @@ -60,6 +61,7 @@ use ptth_core::{ http_serde, prelude::*, }; +// use crate::key_validity::BlakeHashWrapper; pub mod errors; @@ -218,6 +220,9 @@ pub struct ConfigFile { /// For debugging. pub throttle_upload: bool, + + // Clients don't need to auth if this is None + // pub client_tripcodes: HashMap , } impl ConfigFile { @@ -229,6 +234,7 @@ impl ConfigFile { relay_url, file_server_root: PathBuf::from ("."), throttle_upload: false, + // client_tripcodes: HashSet::new (), } } @@ -269,6 +275,7 @@ impl Builder { relay_url, file_server_root: PathBuf::from ("."), throttle_upload: false, + // client_tripcodes: HashMap::new (), }; Self {