From 65c67401bac6de3ca2e455e53b2ec573030e1e4b Mon Sep 17 00:00:00 2001 From: Michael Scholten Date: Wed, 15 May 2024 11:46:47 +0200 Subject: [PATCH] Solved a potential unaligned read vulnerability by updating criterion (https://rustsec.org/advisories/RUSTSEC-2021-0145) --- plotters-bitmap/Cargo.toml | 2 +- plotters/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plotters-bitmap/Cargo.toml b/plotters-bitmap/Cargo.toml index 3cedf88a..45be3257 100644 --- a/plotters-bitmap/Cargo.toml +++ b/plotters-bitmap/Cargo.toml @@ -35,7 +35,7 @@ features = ["ttf", "line_series", "bitmap_backend"] path = "../plotters" [dev-dependencies] -criterion = "0.4.0" +criterion = "0.5.1" rayon = "1.5.1" [[bench]] diff --git a/plotters/Cargo.toml b/plotters/Cargo.toml index e436836a..1f120ce8 100644 --- a/plotters/Cargo.toml +++ b/plotters/Cargo.toml @@ -114,7 +114,7 @@ deprecated_items = [] # Keep some of the deprecated items for backward compatibi [dev-dependencies] itertools = "0.10.0" -criterion = "0.4.0" +criterion = "0.5.1" rayon = "1.5.1" serde_json = "1.0.82" serde = "1.0.139"