init commit

This commit is contained in:
Reid 2024-08-22 00:34:43 -07:00
commit 6899d676aa
Signed by: reidlab
GPG key ID: DAF5EAF6665839FD
15 changed files with 1490 additions and 0 deletions

19
src/config.rs Normal file
View file

@ -0,0 +1,19 @@
use envconfig::Envconfig;
#[derive(Envconfig)]
pub struct Config {
#[envconfig(from = "PLAYER_BUS")]
pub player_bus: Option<String>,
#[envconfig(from = "USERNAME")]
pub username: String,
#[envconfig(from = "PASSWORD")]
pub password: String,
#[envconfig(from = "API_KEY")]
pub api_key: String,
#[envconfig(from = "API_SECRET")]
pub api_secret: String
}