diff --git a/codegen/Cargo.toml b/codegen/Cargo.toml index ef3f914ae..a4b287250 100644 --- a/codegen/Cargo.toml +++ b/codegen/Cargo.toml @@ -14,7 +14,7 @@ palette_math = {path = "../palette_math", default-features = false, features = [ anyhow = "1.0.86" proc-macro2 = "1.0.86" quote = "1.0.37" -phf = "0.12.1" -phf_codegen = "0.12.1" +phf = "0.13.1" +phf_codegen = "0.13.1" diff --git a/palette/Cargo.toml b/palette/Cargo.toml index 54f2515d0..64cc120f0 100644 --- a/palette/Cargo.toml +++ b/palette/Cargo.toml @@ -49,7 +49,7 @@ approx = { version = "0.5.0", default-features = false, optional = true } libm = { version = "0.2.1", default-features = false, optional = true } [dependencies.phf] -version = "0.12.1" +version = "0.13.1" optional = true default-features = false diff --git a/palette/src/hues.rs b/palette/src/hues.rs index df98ccc09..3a76fe530 100644 --- a/palette/src/hues.rs +++ b/palette/src/hues.rs @@ -916,7 +916,7 @@ mod test { let hue = OklabHue::from_degrees(degree); let (a, b) = hue.into_cartesian(); let roundtrip_hue = OklabHue::from_cartesian(a * 10000.0, b * 10000.0); - assert_abs_diff_eq!(roundtrip_hue, hue, epsilon = 0.0000000000001); + assert_abs_diff_eq!(roundtrip_hue, hue, epsilon = 0.000000000001); } }