mirror of
https://github.com/apache/thrift.git
synced 2026-10-28 16:35:10 +08:00
Client: rs All Rust crates declare edition 2024 and rust-version 1.85. Edition 2024 turns on Cargo's MSRV-aware resolver, so dependencies resolve to versions that still build on 1.85 even when a newer toolchain runs the build. CI, the crates.io release and the Docker images use Rust 1.99.0, pinned rather than "stable": the Rust jobs run clippy with -D warnings, and each new release adds lints. Bump the pin on purpose, together with any lint fixes it needs. The generated ok_or() now matches with if-let instead of is_some() and unwrap(), which clippy 1.99 rejects in every generated client.