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
Update dependencies #586
Update dependencies #586
Conversation
One test fails but it looks unrelated to the changes. I cannot rerun the jobs in the test workflow. |
What’s the benefit of raising the minimum required version for these dependencies? E.g. is there a specific behavior that is being corrected? As for the parsing of RUST_LOG, I think it’s generally desirable to allow environment variables to override defaults. This is how rustc and cargo handle the variable, for example. |
The current dependencies version specification do not allow updates for
|
That makes sense for those three dev-dependencies; is there any need to (or benefit from) updating the four dependencies byteorder/log/libc/bitflags? |
* allow logging environment overwrite by RUST_LOG
No. I added another commit based on your feedback. The PR now updates only |
I’m confused by this. My understanding of the documentation is that |
In Cargo, versions So, in this case, https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#caret-requirements
|
Ah, I forgot about that caveat. Thanks for explaining. |
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.
This is nice, thanks for the PR! :)
bors r+
Hi. This PR bumps smoltcp dependencies version to
latest
according to crates.io.The
env_logger
update brings an API change, the parse Builder method was replaced with parse_filters.Apart from
parse_filters
, I noticed that the original code parsedRUST_LOG
after setting the log level totrace
and parsing the filters. My understanding is that this overwrites the builder setup with whatRUST_LOG
contains.My change parses the default environment first with
from_default_env
and then applies the filter changes.If the desired behaviour is the original one (overwrite
setup_logging_with_clock
filters with the ones defined byRUST_LOG
) let me know.Tnx :)