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

chore(color-eyre): Set color-eyre dependency on eyre via path. #197

Merged
merged 3 commits into from
Aug 22, 2024
Merged

chore(color-eyre): Set color-eyre dependency on eyre via path. #197

merged 3 commits into from
Aug 22, 2024

Conversation

humb1t
Copy link
Contributor

@humb1t humb1t commented Aug 22, 2024

Good day, dear eyre contributors.

I really like to use eyre in all my projects. Right now I use master to stay on 1.0 version.
Unfortunately when I want to start using color-eyre the same way it conflicts with eyre, because it uses 0.6.1 version.
What this PR addresses is to temporary set color-eyre -> eyre dependency via path, not a version, until 1.0 will be released.

If it's not something you want to have in the codebase, just please let me know, I will then switch to my fork and keep it sync with the main repo. Thank you in advance, you are awesome! 💜

@@ -18,7 +18,7 @@ issue-url = ["url"]
track-caller = []

[dependencies]
eyre = "0.6.1"
eyre = { path = "../eyre" }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please have a version too in here. That way, we get best of both worlds.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @pksunkara — I added version to this dependency description as "1.0.0", is it okay?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, but please reset the lockfile to remove unneeded upgrades. And then run cargo update to update eyre related changes.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's done @pksunkara

@pksunkara pksunkara enabled auto-merge (squash) August 22, 2024 11:26
@pksunkara pksunkara merged commit fc83cb8 into eyre-rs:master Aug 22, 2024
28 of 29 checks passed
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