Skip to content

Bump MSRV to 1.80.0 in Cargo.toml and the Dockerfile#171

Merged
anoadragon453 merged 3 commits into
mainfrom
anoa/rust_1_95_0_dockerfile
May 20, 2026
Merged

Bump MSRV to 1.80.0 in Cargo.toml and the Dockerfile#171
anoadragon453 merged 3 commits into
mainfrom
anoa/rust_1_95_0_dockerfile

Conversation

@anoadragon453

@anoadragon453 anoadragon453 commented May 15, 2026

Copy link
Copy Markdown
Member

#170 is failing to build docker images due to requiring at least Rust 1.80 for openssl-sys@0.9.115.

Let's just bump to 1.95.0 to take advantage of the latest fixes/features. We opted to bump only to the minimum version needed to support the new openssl version.

#170 is failing to build due to requiring at least Rust 1.80.

Let's just bump to 1.95.0 to take advantage of the latest fixes/features.
@anoadragon453 anoadragon453 requested a review from a team as a code owner May 15, 2026 10:21
Comment thread Dockerfile Outdated
# We leverage Zig and cargo-zigbuild for providing a cross-compilation-capable C compiler and linker.

ARG RUSTC_VERSION=1.78.0
ARG RUSTC_VERSION=1.95.0

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We probably also need to bump it in Cargo.toml

rust-version = "1.78"

@anoadragon453 anoadragon453 May 18, 2026

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Correct! But we should bump this to 1.80.0 (the minimum required rust version), rather than 1.95.0 (the most advanced Rust version that will be used in the docker image). Do you agree?

Done in 1e6aa86.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For the sake of Ctrl + f updating, I'd rather them be the same whichever direction.

We tend to just pick the latest whenever we update

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In that case... I think we should keep it at 1.80.x for both. That will make it easier to include the compressor as a library in other applications should one choose to do so.

@anoadragon453 anoadragon453 changed the title Bump rustc to 1.95.0 in the Dockerfile Bump MSRV to 1.80.0 in Cargo.toml and the Dockerfile May 18, 2026
@anoadragon453 anoadragon453 merged commit b398f21 into main May 20, 2026
5 checks passed
@anoadragon453 anoadragon453 deleted the anoa/rust_1_95_0_dockerfile branch May 20, 2026 13:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants