Skip to content

Update to tracing 0.1.36 - #305

Open
kayabaNerve wants to merge 2 commits into
hyperium:masterfrom
kayabaNerve:patch-1
Open

Update to tracing 0.1.36#305
kayabaNerve wants to merge 2 commits into
hyperium:masterfrom
kayabaNerve:patch-1

Conversation

@kayabaNerve

Copy link
Copy Markdown

tracing 0.1.35 pulls in tracing-core 0.1.27 which adopted once_cell over lazy_static, fixing some macro issues I had when I tried to compile with minimal dependencies.

tracing 0.1.36 is explicitly guaranteed to compile with -Zminimal-versions. hyper-util explicitly does not compile against the minimal version of tracing 0.1 as it uses misc features added between 0.1 and 0.x. 0.1.36 is within hyper-util's MSRV bound.

This version of tracing is sufficient for all my experiments I did with -Zminimal-versions, hence why I PR it here, but I can't confirm this is sufficient for all environments, the exact latest version of hyper-util, and in the future, a workflow confirming hyper-util compiles with -Zminimal-versions would be valuable. I also encountered issues with how tower 0.4 wouldn't compile against tower-layer 0.3 (solely tower-layer 0.3.1), but tower is no longer an explicit dependency of hyper-util.

`tracing 0.1.35` pulls in `tracing-core 0.1.27` which adopted `once_cell` over `lazy_static`, fixing some macro issues I had when I tried to compile with minimal dependencies.

`tracing 0.1.36` is explicitly guaranteed to compile with `-Zminimal-versions`. `hyper-util` explicitly does not compile against the minimal version of `tracing 0.1` as it uses misc features added between `0.1 and 0.x`. `0.1.36` is within `hyper-util`'s MSRV bound.

This version of `tracing` is sufficient for all my experiments I did with `-Zminimal-versions`, hence why I PR it here, but I can't confirm this is sufficient for all environments, the exact latest version of `hyper-util`, and in the future, a workflow confirming `hyper-util` compiles with `-Zminimal-versions` would be valuable. I also encountered issues with how `tower 0.4` wouldn't compile against `tower-layer 0.3` (solely `tower-layer 0.3.1`), but `tower` is no longer an explicit dependency of `hyper-util`.
https://github.com/tokio-rs/tokio/blob/master/tokio/CHANGELOG.md#1130-october-29-2021 added `watch::Sender::send_replace`, as used in `src/client/legacy/connect/capture.rs`.
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.

1 participant