mirror of
https://github.com/kata-containers/kata-containers.git
synced 2026-04-28 11:44:30 +00:00
Update all versions of rand that are controlled by us to remediate GHSA-cq8v-f236-94qc. Note: There are still some usages of rand 0.8.5 it that are from transitive dependencies which we can't currently update: - fail - phf_generator - opentelemetry due to them being archived, or our usage being 17 versions out of date Also update the rand API breakages e.g. : - rand::thread_rng() → rand::rng() (function renamed) - rand::distributions::Alphanumeric → rand::distr::Alphanumeric (module renamed) - rng.gen_range() → rng.random_range() (function renamed) Assisted-by: IBM Bob Signed-off-by: stevenhorsman <steven@uk.ibm.com>