From 2a1638e6da300daf6388a0840dbec71a0bd93a66 Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Sat, 6 Aug 2022 18:22:27 -0400 Subject: [PATCH] Explicitly use half 1.0, since that's what criterion uses too It's not that big of a deal, we just use one small part of the half library. This is to appease cargo deny of course :-) --- Cargo.lock | 19 ++----------------- Cargo.toml | 2 +- 2 files changed, 3 insertions(+), 18 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index bcf5f2c..787477c 100755 --- a/Cargo.lock +++ b/Cargo.lock @@ -121,7 +121,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "213030a2b5a4e0c0892b6652260cf6ccac84827b83a85a534e178e3906c4cf1b" dependencies = [ "ciborium-io", - "half 1.8.2", + "half", ] [[package]] @@ -242,12 +242,6 @@ dependencies = [ "once_cell", ] -[[package]] -name = "crunchy" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7a81dae078cea95a014a339291cec439d2f232ebe854a9d672b796c6afafa9b7" - [[package]] name = "either" version = "1.7.0" @@ -260,15 +254,6 @@ version = "1.8.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "eabb4a44450da02c90444cf74558da904edde8fb4e9035a9a6a4e15445af0bd7" -[[package]] -name = "half" -version = "2.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ad6a9459c9c30b177b925162351f97e7d967c7ea8bab3b8352805327daf45554" -dependencies = [ - "crunchy", -] - [[package]] name = "hard-xml" version = "1.13.0" @@ -452,7 +437,7 @@ dependencies = [ "bitfield-struct", "crc", "criterion", - "half 2.1.0", + "half", "hard-xml", "libz-sys", "paste", diff --git a/Cargo.toml b/Cargo.toml index 23ff78c..a7ce699 100755 --- a/Cargo.toml +++ b/Cargo.toml @@ -36,7 +36,7 @@ bitfield-struct = "0.1.7" paste = "1.0.7" # needed for half-float support which FFXIV uses in it's model data -half = "2.1.0" +half = "1.0" # needed for havok xml parsing hard-xml = "1.13.0"