Skip to content

Upgrading ring 0.16 to 0.17

Breaking0.16.20 → 0.17.14Security2Platform1New1Fixed3Other1

BreakingUpgrade verdict

A platform requirement change and 2 security fixes.

  • Increased MSRV to 1.66.0 to avoid bugs in earlier versions so that we can safely use core::arch::x86_64::__cpuid and core::arch::x86::__cpuid from Rust in future releases.
  • Some AES functions may panic when overflow checking is enabled.
  • Versions of *ring* prior to 0.17 are unmaintained.
3 items need code or config changes

Requires Rust 1.66.0 from 0.17.13 (none stated before).

Adds cfg-if ^1.0.0, getrandom ^0.2.10, windows-sys ^0.52.

Drops once_cell, spin, web-sys, winapi.

Installs 59 packages in all (was 46).

Also installs futures-core, futures-task, futures-util, pin-project-lite, slab, wasi, windows-targets, windows_aarch64_gnullvm, windows_aarch64_msvc, windows_i686_gnu, windows_i686_gnullvm, windows_i686_msvc, windows_x86_64_gnu, windows_x86_64_gnullvm, windows_x86_64_msvc.

No longer installs winapi-i686-pc-windows-gnu, winapi-x86_64-pc-windows-gnu.

Moves js-sys 0.3.104 → 0.3.91, untrusted 0.7.1 → 0.9.0, wasm-bindgen 0.2.127 → 0.2.114, wasm-bindgen-futures 0.4.77 → 0.4.64, wasm-bindgen-macro 0.2.127 → 0.2.114, wasm-bindgen-macro-support 0.2.127 → 0.2.114, wasm-bindgen-shared 0.2.127 → 0.2.114, wasm-bindgen-test 0.3.77 → 0.3.64, wasm-bindgen-test-macro 0.3.77 → 0.3.64, wasm-bindgen-test-shared 0.2.127 → 0.2.114, web-sys 0.3.104 → 0.3.91, windows-sys 0.61.2 → 0.52.0, 0.61.2. Your build may pick other versions.

Security2
Some AES functions may panic when overflow checking is enabled.
Versions of *ring* prior to 0.17 are unmaintained.
Platform1
Increased MSRV to 1.66.0 to avoid bugs in earlier versions so that we can safely use core::arch::x86_64::__cpuid and core::arch::x86::__cpuid from Rust in future releases.
core::arch::x86_64::__cpuidcore::arch::x86::__cpuid