Closed VerbTheNoun95 closed 4 years ago
TryInto was added in 1.34.0, so that's the minimum required version for the latest versions of miniz_oxide (I'll add a note about it in the readme.). If it's just for testing stuff, and you're stuck with an older version of rust, you can use the 0.2 version of miniz_oxide instead, main change was removal of internal unsafe code.
@oyvindln Do I understand this correctly, that rustc 1.34
is a minimum required version for the 0.3
release series and that a bump to that required version would only be done as part of a major version (0.4
)? Or do intend to reserve the ability to upgrade to newer stable versions in minor versions as well?
It's 1.31, so that makes sense. Rust isn't managed by my distro's package manager and rustup returns everything up to date. I'll reinstall rust, but it looks like this isn't an issue with the package so I'll close the issue.
@HeroicKatora Yeah will update to a new major version if the requirement changes. It's a breaking change after all.
I've been trying to compile a simple script that uses miniz_ozide and am running into a few errors when running
cargo build
. They mostly look like they're related to the use of unstable library features in deflate. Output below, with the path edited to$HOME
.