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.
Where possible, I have updated all dependencies to their most recent version. Understandably,
tokio
(andtokio-tungstenite
et al.) took the longest and some of the updates are slightly "hacky". The notable example of that is usingtokio_util::io::poll_read_buf
to avoid rewritingcommon/socks5/proxy-helpers/src/available_reader.rs:AvailableReader
to instead use pureAsyncRead
with its most recent changes [note:tokio_util
is a separate dependency].There are, however, certain omissions in the packages being updated. They include the following:
publicsuffix
used by service provider (version 1.5) could not be updated to most recent 2.0.X as it's functionality was slightly modified and the library was split into two. Moreover, it no longer downloads the Mozilla's public suffix list by itself, we'd need to do it manually. So for time being let's stick with 1.5 until we feel like we have to update.hmac
could not be updated to the most recent version. Most recent is0.10
, we stay at0.8
. Reason being is that the recent version ofblake3
(0.3.7
at the time of writing) relies on traits defined incrypto-mac
0.8.0
. However, it seems the version ofblake3
on the master branch has updated the said dependency to the most recent version and hence most likely the next time we deal with updating all of our stuff, we will be able to update this one as well.rand
was left at0.7
(most recent is0.8
) as, among other things, we need that version for compatibility withed25519-dalek
craterand_distr
was updated only to0.3
rather than0.4
as that would require updatingrand
itself