Skip to content

Commit

Permalink
chore: add note to tokio version constraint
Browse files Browse the repository at this point in the history
  • Loading branch information
ymgyt committed Sep 11, 2024
1 parent 05f44cf commit c754aff
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,11 @@ tempfile = { version = "3" }
thiserror = { version = "1.0.63" }
# opentelemetry specifies `~1.38` to tokio
# https://github.com/open-telemetry/opentelemetry-rust/blob/66f29b876f4c5d0c1551c65e6d92d1ae2e6ea744/Cargo.toml#L45
tokio = { version = "1.38", default-features = false }
# after the 0.25 release, this restriction was removed
# https://github.com/open-telemetry/opentelemetry-rust/pull/2095
# however, it has noe been released yet.
# when upgrading opentelemetry from 0.25 we will be able to specify the latest version of tokio
tokio = { version = "~1.38", default-features = false }
tokio-util = { version = "0.7.12" }
toml = { version = "0.8.19" }
tracing = { version = "0.1.40" }
Expand Down

0 comments on commit c754aff

Please sign in to comment.