Description
Cargo.toml
specifies some overly strict version ranges:
Lines 23 to 32 in 58d9a6d
This results in some really bizarre behaviors for users of hyperx
, like packages getting downgraded when hyperx
is pulled in. I'd like to pull this package into a crate I'm working on, to move it off an ancient version of hyper
, but the odd range here causes an (not as, but still) old version of hyper
to get pulled in. Both are under a RUSTSEC vuln, which is why I'd like to move the crate to hyperx
.
Just set these equal to, e.g.,
bytes = "1.0.0"
where they span only part of a single semver compatibility range? This lets Cargo do the right thing, and pull in bug/security fixes as it can.
(Note though, that this doesn't apply to base64
, b/c there the range is allowing multiple semver-incompatible versions.)