fix: upgrade tokio 0.2 to 1.x and futures 0.3.5 to 0.3.32 to resolve …#27
Closed
shivvinaykanswal wants to merge 2 commits intojayjun:masterfrom
Closed
fix: upgrade tokio 0.2 to 1.x and futures 0.3.5 to 0.3.32 to resolve …#27shivvinaykanswal wants to merge 2 commits intojayjun:masterfrom
shivvinaykanswal wants to merge 2 commits intojayjun:masterfrom
Conversation
added 2 commits
February 25, 2026 16:33
…CVEs Upgrades Rust dependencies to fix the following vulnerabilities: - CVE-2021-45710 / GHSA-rr8g-9fpq-6wmg / GHSA-4q83-7cq4-p6wg (tokio) - CVE-2020-35906 (futures-task) - CVE-2020-35905 (futures-util) - CVE-2020-35711 (arc-swap, removed as transitive dep) - CVE-2020-35919 / CVE-2020-35920 (net2/socket2, removed) - CVE-2020-35921 (miow, removed) Key changes: - tokio 0.2.13 -> 1.49.0 (basic_scheduler -> flavor="current_thread") - futures 0.3.5 -> 0.3.32 - Replace tokio::prelude with explicit imports - Use AsyncRead::read instead of read_buf for stream processing - Use child.wait() instead of direct child future (tokio 1.x API)
Pin tokio to =1.49.0 and futures to =0.3.32 instead of relying on Cargo version resolution.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
…CVEs
Upgrades Rust dependencies to fix the following vulnerabilities:
Key changes: