Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Nov 21, 2023

Conversation

joshuamegnauth54
Copy link
Contributor

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

  • Bug fix (non-breaking change which fixes an issue)

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.

`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
@ramsayleung ramsayleung merged commit a53a7db into ramsayleung:master Nov 21, 2023
5 checks passed
@ramsayleung
Copy link
Owner

Thanks for your contribution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants