From 7f1adeb11a4ec9229b04d47a40b5dd0b2c0ba19e Mon Sep 17 00:00:00 2001 From: Felix Hekhorn Date: Thu, 22 Aug 2024 13:16:02 +0300 Subject: [PATCH] rust: Drop hashbrown in ekore for std --- Cargo.lock | 1 - crates/ekore/Cargo.toml | 1 - crates/ekore/src/harmonics/cache.rs | 2 +- 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 2ec2eca5a..b29daaaa5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -206,7 +206,6 @@ name = "ekore" version = "0.0.1" dependencies = [ "float-cmp", - "hashbrown", "num", ] diff --git a/crates/ekore/Cargo.toml b/crates/ekore/Cargo.toml index 419bc126a..352750a88 100644 --- a/crates/ekore/Cargo.toml +++ b/crates/ekore/Cargo.toml @@ -20,4 +20,3 @@ rustdoc-args = ["--html-in-header", "doc-header.html"] [dependencies] num = "0.4.1" float-cmp = "0.9.0" -hashbrown = "0.14" diff --git a/crates/ekore/src/harmonics/cache.rs b/crates/ekore/src/harmonics/cache.rs index 1342f5175..eb2a9090b 100644 --- a/crates/ekore/src/harmonics/cache.rs +++ b/crates/ekore/src/harmonics/cache.rs @@ -1,7 +1,7 @@ //! Cache harmonic sums for given Mellin N. -use hashbrown::HashMap; use num::{complex::Complex, Zero}; +use std::collections::HashMap; use crate::harmonics::{g_functions, w1, w2, w3, w4};