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

feat: update dependencies and rust edition #76

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

somehowchris
Copy link

  • Updated from rust edition 2018 to 2021
  • Updated some dependencies aswell the code used alongside
  • Added #![forbid(unsafe_code)], taking part in the geiger-counter measure of cargo geiger :)

Ran the tests on linux, all were ok

@RustPanda
Copy link

Thanks update, can you put it on crates.io?

@somehowchris
Copy link
Author

Wrote a mail to @ZoeyR but didn't yet get a response

The following is also duplicated in the changelog.

- `dotenv` crate forked as `dotenvy`
- `dotenv_codegen` forked as `dotenvy_codgen`
- `dotenv_codegen_implementation` forked as `dotenvy_codegen_impl`
- Crate description for dotenvy_codegen
- Crate description for dotenvy_codgen_impl
- New language in README
- MIT license badge in README
- Generate helpful errors from dotenv! macro (full merge of [dotenv-rs/dotenv dotenv-rs#58](https://github.com/dotenv-rs/dotenv/pull/57/files#))

- replaced deprecated `std::env_home:dir()` with `dirs:home_dir`
- Better handling of `home_dir` (merge of [dotenv-rs/dotenv dotenv-rs#62](https://github.com/dotenv-rs/dotenv/pull/62/files#))
- assertions dealing with `Result` (based on [dotenv-rs/dotenv dotenv-rs#57](https://github.com/dotenv-rs/dotenv/pull/57/files#))
- upgraded clap in `dotenvy` bin from v2 to v3.1 (covers [dotenv-rs/dotenv dotenv-rs#76](https://github.com/dotenv-rs/dotenv/pull/76/files))

- example folder. The simple example has been moved to the README.
- `extern`
- unnecessary `use` statements in doc examples
allan2 and others added 3 commits February 28, 2022 15:55
I made a foolish typo when publishing the crate.
I think dotenvy_macro is a more user-friendly name anyway.
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.

3 participants