Skip to content

Update Rust to v1.95 and all deps to latest versions in edgelet workspace.#7504

Open
arsing wants to merge 7 commits into
Azure:mainfrom
arsing:rustup
Open

Update Rust to v1.95 and all deps to latest versions in edgelet workspace.#7504
arsing wants to merge 7 commits into
Azure:mainfrom
arsing:rustup

Conversation

@arsing
Copy link
Copy Markdown
Member

@arsing arsing commented May 13, 2026

This change updates the Rust toolchain to v1.95 and all dependencies to
their latest versions.

All crates have been updated to Edition 2024. Because of that and
the new toolchain, most of the diff is from rustfmt and clippy changes.

The other big part of the change is from hyper v1.0 having a reduced API
compared to v0.14. The missing API is now provided by the hyper-util and
http-body-util crates.

The CI used cross to run unit tests on arm32v7 and aarch64. I have removed that
since cross hasn't published new images in years and their latest image has
OpenSSL v1.1.0 that the openssl-sys crate does not support
(it requires v1.0 or v1.1.1 or v3.0). cross has already given us trouble
in the past from its broken images, and it does not seem useful to
keep it around just for running unit tests, especially since there's nothing
platform-specific that our unit tests would exercise anyway.

@arsing arsing requested a review from damonbarry May 13, 2026 23:11
Comment thread edgelet/Cargo.toml Outdated
arsing added 5 commits May 26, 2026 11:25
Old and unmaintained. Latest release 0.2.5 published in 2023 uses Ubuntu 16.04,
which has OpenSSL v1.1.0, which isn't supported by latest openssl-sys crate
(it would need v1.1.1).

We don't have any platform-specific code in edgelet that would strongly benefit
from cross-arch testing in checkin pipeline anyway.

Cross-platform package builds are unaffected by this since they do
cross-compilation "properly", using cross-compiler toolchain of the target OS.
@arsing arsing marked this pull request as ready for review May 29, 2026 16:46
@arsing arsing requested a review from Copilot May 29, 2026 16:46
@arsing arsing requested review from gordonwang0 and removed request for Copilot May 29, 2026 16:46
Comment thread edgelet/iotedge/src/system.rs
Copy link
Copy Markdown
Member

@damonbarry damonbarry left a comment

Choose a reason for hiding this comment

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

Just the one comment.

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