-
Notifications
You must be signed in to change notification settings - Fork 394
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
Ease log dependency #116
Conversation
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.
LGTM
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" |
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 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?
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.
👍
1e6a7e2
to
f45c096
Compare
So if log 0.5 breaks again, we need another PR to fix it? 🤣 |
@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. |
Fixes #113