Closed PureWhiteWu closed 4 months ago
Originally, we did it to satisfy the crate's MSRV, but because of problems like this we decided against such approach. crypto-mac
is an old (and unmaintained) dependency which was replaced by digest
. A proper solution for this issue is to update the outdated cookie
dependency like you did in the linked PR.
Thanks for the reply, I found that this is unmaintained after opening this issue.
I'm patching http-types
to solve this issue now, and waiting for http-types
maintainer to upgrade the version of cookie
.
Seems that
crypto-mac
crate specifiessubtle = "=2.4"
in Cargo.toml, which is a little strict, and this will lead to compile fail if users are usingreqwest
.The dependency graph is as follows:
Is it possible to just specify
subtle = "^2.4"
?