0.6.0
What's Changed
Now the way to construct a client is:
use lastfm::Client;
let client = Client::builder()
.api_key("YOUR_API_KEY")
.username("YOUR_USERNAME")
.build();
If you want to load your API key from env:
use lastfm::Client;
let client = Client::<String, &str>::from_env("YOUR_USERNAME");
Full Changelog: 0.5.0...0.6.0