ramsayleung / rspotify

Spotify Web API SDK implemented on Rust
MIT License
632 stars 121 forks source link

Replace `dotenv` (unmaintained since 2020) with `dotenvy` (RUSTSEC-2021-0141) #447

Closed joshuamegnauth54 closed 9 months ago

joshuamegnauth54 commented 9 months ago

Description

Replace the dotenv crate with dotenvy. dotenvy is a maintained fork recommended by RUSTSEC.

Motivation and Context

dotenv is unmaintained and has not received an update since 2020. dotenvy is the recommended, drop in fork.

Sources:

  1. https://github.com/dotenv-rs/dotenv
  2. https://rustsec.org/advisories/RUSTSEC-2021-0141.html

Dependencies

Type of change

How has this been tested?

I ran the test suite with --features env-file before and after the change. The fork doesn't change the original crate's API beyond replacing dotenv with dotenvy.

Is this change properly documented?

No, but I'll edit the CHANGELOG.md and squash the commits now.

ramsayleung commented 9 months ago

Thanks for your contribution.