Open acim opened 3 years ago
Yep, have the same error.
If I pin log version, this works again:
log = ">=0.4.13, <0.4.14"
There is obviously some change in log 0.4.14 which breaks json-env-logger.
I had to follow the advice here and adjust features
: https://github.com/http-rs/tide/pull/776
Now this bug appears again in log = "0.4.17"
I had to follow the advice here and adjust
features
: http-rs/tide#776
@notmgsk Thanks for the hint, this solved the issue for me.
After defining the kv_unstable_std
for the log dependency, I could compile json_env_logger
:
log = { version = "0.4.17", features = ["kv_unstable_std"] }
json_env_logger = { version = "0.1" }
I put up a PR for this: https://github.com/softprops/json-env-logger/pull/14
After upgrading log to 0.4.14, json_env_logger won't compile: