From 30710dbf15b6e252fcb5603c140071e5873a8785 Mon Sep 17 00:00:00 2001 From: Serhij S Date: Tue, 25 Nov 2025 01:27:51 +0100 Subject: [PATCH] removed unmaintained fxhash crate --- httpsig/Cargo.toml | 1 - httpsig/src/message_component/component.rs | 2 +- httpsig/src/message_component/component_param.rs | 2 +- httpsig/src/signature_base.rs | 2 +- 4 files changed, 3 insertions(+), 4 deletions(-) diff --git a/httpsig/Cargo.toml b/httpsig/Cargo.toml index 7a999a3..b6de663 100644 --- a/httpsig/Cargo.toml +++ b/httpsig/Cargo.toml @@ -17,7 +17,6 @@ thiserror = { version = "2.0.16" } tracing = { version = "0.1.41" } rustc-hash = { version = "2.1.1" } indexmap = { version = "2.11.1" } -fxhash = { version = "0.2.1" } rand = { version = "0.9.2" } # crypto diff --git a/httpsig/src/message_component/component.rs b/httpsig/src/message_component/component.rs index 89dda10..a74ade7 100644 --- a/httpsig/src/message_component/component.rs +++ b/httpsig/src/message_component/component.rs @@ -186,7 +186,7 @@ pub(super) fn build_http_field_component( #[cfg(test)] mod tests { use super::*; - type IndexSet = indexmap::IndexSet; + type IndexSet = indexmap::IndexSet; #[test] fn test_from_serialized_string_derived() { diff --git a/httpsig/src/message_component/component_param.rs b/httpsig/src/message_component/component_param.rs index 736da07..831b603 100644 --- a/httpsig/src/message_component/component_param.rs +++ b/httpsig/src/message_component/component_param.rs @@ -1,7 +1,7 @@ use crate::error::{HttpSigError, HttpSigResult}; use sfv::{Parser, SerializeValue}; -type IndexSet = indexmap::IndexSet; +type IndexSet = indexmap::IndexSet; /* ---------------------------------------------------------------- */ #[derive(PartialEq, Eq, Hash, Debug, Clone)] diff --git a/httpsig/src/signature_base.rs b/httpsig/src/signature_base.rs index 04da34a..0e21a76 100644 --- a/httpsig/src/signature_base.rs +++ b/httpsig/src/signature_base.rs @@ -6,7 +6,7 @@ use crate::{ signature_params::HttpSignatureParams, }; use base64::{engine::general_purpose, Engine as _}; -use fxhash::FxBuildHasher; +use rustc_hash::FxBuildHasher; use indexmap::IndexMap; use sfv::{BareItem, Item, ListEntry, Parser};