From 37f0cf8c35a48e171ee5fcd78625e4c5b68cd946 Mon Sep 17 00:00:00 2001 From: Deukhoofd Date: Fri, 1 Jul 2022 18:27:56 +0200 Subject: [PATCH] Only use assert_approx_eq in dev --- Cargo.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index b2ae6ca..54b98c1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -42,8 +42,6 @@ rpath = false # Used for PrimInt, so we can check if a generic is an integer num-traits = "0.2" atomig = "0.4.0" -# Allow us to assert whether floats are approximately a value -assert_approx_eq = "1.1.0" # Used for time based code (i.e. randomness) chrono = "0.4.19" # Used for RNG @@ -62,3 +60,5 @@ datatest = "0.7.1" serde_yaml = "0.8.24" serde_json = "1.0.81" serde_plain = "1.0.0" +# Allow us to assert whether floats are approximately a value +assert_approx_eq = "1.1.0"