Setup config

This commit is contained in:
2024-10-26 19:36:06 +01:00
parent 77f8120a1f
commit 6e6a589f38
4 changed files with 662 additions and 434 deletions

9
src/settings.rs Normal file
View File

@ -0,0 +1,9 @@
use http::Uri;
use serde::{Deserialize, Serialize};
#[derive(Debug, Deserialize, Serialize)]
pub struct Settings {
pub server: Uri,
pub token_id: String,
pub secret: String,
}