use env::dotenv; fn main() { dotenv().expect("Failed to load .env file"); let database_url = std::env::var("DATABASE_URL").expect("DATABASE_URL must be set"); println!("Database URL: {}", database_url); }