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

Ease log dependency #116

Merged
merged 3 commits into from
Sep 7, 2018
Merged

Ease log dependency #116

merged 3 commits into from
Sep 7, 2018

Conversation

Hoverbear
Copy link
Contributor

Fixes #113

@Hoverbear Hoverbear added this to the 0.4.0 milestone Sep 6, 2018
siddontang
siddontang previously approved these changes Sep 7, 2018
Copy link
Contributor

@siddontang siddontang left a comment

Choose a reason for hiding this comment

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

LGTM

@breezewish
Copy link
Member

Oh. >0.3 is a good idea!

Cargo.toml Outdated
@@ -12,7 +12,7 @@ description = "The rust language implementation of Raft algorithm."
categories = ["algorithms", "database-implementations"]

[dependencies]
log = "0.4"
log = ">0.3"
Copy link
Member

Choose a reason for hiding this comment

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

I took a look at the history version of log crate, seems that we can use a version as low as 0.2.0 (which already includes all necessary macros including trace!). So maybe we can ease more to >= 0.2.0?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

👍

@Hoverbear Hoverbear self-assigned this Sep 7, 2018
@BusyJay
Copy link
Member

BusyJay commented Sep 7, 2018

So if log 0.5 breaks again, we need another PR to fix it? 🤣

@breezewish
Copy link
Member

@BusyJay we don't need to publish a new version if log 0.5 published, as long as info!, trace! and so on interfaces are not changed.

@Hoverbear Hoverbear merged commit b10d74c into master Sep 7, 2018
@breezewish breezewish deleted the ease-log-dep branch September 8, 2018 03:29
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.

4 participants