-
-
Notifications
You must be signed in to change notification settings - Fork 158
refactor: divide code into 2 crates: dotenv-lookup & dotenv-linter
#620
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
Conversation
a2dc315 to
ce5d527
Compare
Codecov Report
@@ Coverage Diff @@
## master #620 +/- ##
=======================================
Coverage 99.11% 99.11%
=======================================
Files 44 46 +2
Lines 2814 2835 +21
=======================================
+ Hits 2789 2810 +21
Misses 25 25
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
69c998f to
92807fe
Compare
dotenv-lookup & dotenv-linter
6267f65 to
5079681
Compare
.gitignore
Outdated
| # Generated by Cargo | ||
| # will have compiled files and executables | ||
| /target/ | ||
| /dotenv-lookup/target/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess it's not needed with workspace, because it shares target folder. Is not?
dotenv-linter/Cargo.toml
Outdated
| @@ -0,0 +1,57 @@ | |||
| [package] | |||
| name = "dotenv-linter" | |||
| version.workspace = true | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you want to keep the same version for these crates? I don't mind, just wondering, because I guess dotenv-lookup would require much less updates then dotenv-linter, so it will publish not-changed crate for each release 🤔
Moreover it could lead to the next situation: we need to create major release for lookup, and it will force us to make the same for dotenv-linter.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, agree. Let's start from v1.0.0. What do you think?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Make sense. yes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've left some comments, but in general I don't mind of merging as it is.
Thank you for these changes!
19ef423 to
126f2b4
Compare
dotenv-lookup & dotenv-linter Signed-off-by: Mikhail Grachev <work@mgrachev.com>
126f2b4 to
b79f71f
Compare
Dividing the project into separate crates:
.envfiles to thedotenv-lookupcrate.envfiles to thedotenv-lintercrate✔ Checklist: