Initial commit

This commit is contained in:
2025-05-03 15:19:56 -06:00
commit 90c7b9d654
48 changed files with 3192 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
#[derive(serde::Deserialize)]
pub struct Config {
tmdb: TmdbConfig,
}
#[derive(serde::Deserialize)]
pub struct TmdbConfig {
bearer_token: String,
}
impl Config {
pub fn tmdb(&self) -> &TmdbConfig {
&self.tmdb
}
}
impl TmdbConfig {
pub fn bearer_token(&self) -> &str {
&self.bearer_token
}
}