A decentralized music tracking and discovery platform built on AT Protocol 🎵 rocksky.app
spotify atproto lastfm musicbrainz scrobbling listenbrainz
98
fork

Configure Feed

Select the types of activity you want to include in your feed.

refactor: remove dotenv dependency from config loading

-4
-4
crates/feed/src/config.rs
··· 1 1 use std::env; 2 - 3 - use dotenv::dotenv; 4 - 5 2 #[derive(Debug, Clone)] 6 3 /// Configuration values for a Feed service 7 4 pub struct Config { ··· 24 21 /// PUBLISHER_DID 25 22 /// FEED_GENERATOR_HOSTNAME 26 23 pub fn load_env_config() -> Self { 27 - dotenv().expect("Missing .env"); 28 24 Config { 29 25 publisher_did: env::var("PUBLISHER_DID") 30 26 .expect(".env file is missing an entry for PUBLISHER_DID"),