refactor: remove hashbrown deps since we can use std

This commit is contained in:
shogo-nakano-desu 2023-09-20 08:59:07 +09:00
parent f671b0b864
commit 6212182739
3 changed files with 0 additions and 27 deletions

22
Cargo.lock generated
View file

@ -17,23 +17,6 @@ version = "1.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe"
[[package]]
name = "ahash"
version = "0.8.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2c99f64d1e06488f620f932677e24bc6e2897582980441ae90a671415bd7ec2f"
dependencies = [
"cfg-if",
"once_cell",
"version_check",
]
[[package]]
name = "allocator-api2"
version = "0.2.16"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0942ffc6dcaadf03badf6e6a2d0228460359d5e34b57ccdc720b7382dfbd5ec5"
[[package]]
name = "always-assert"
version = "0.1.3"
@ -475,10 +458,6 @@ name = "hashbrown"
version = "0.14.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2c6201b9ff9fd90a5a3bac2e56a830d0caa509576f0e503818ee82c181b3437a"
dependencies = [
"ahash",
"allocator-api2",
]
[[package]]
name = "heck"
@ -1823,7 +1802,6 @@ dependencies = [
"always-assert",
"backtrace",
"crossbeam-channel",
"hashbrown 0.14.0",
"jod-thread",
"libc",
"miow",

View file

@ -17,7 +17,6 @@ backtrace = { version = "0.3.67", optional = true }
always-assert = { version = "0.1.2", features = ["log"] }
jod-thread = "0.1.2"
crossbeam-channel = "0.5.5"
hashbrown = { version = "0.14.0" }
# Think twice before adding anything here
[target.'cfg(windows)'.dependencies]

View file

@ -15,10 +15,6 @@
//! - **std** (default, *enabled* in this build):
//! an implementation using `std::collections::hash_map`, placed in the crate root
//! (e.g. `anymap::AnyMap`).
//!
//! - **hashbrown** (optional; *enabled* in this build):
//! an implementation using `alloc` and `hashbrown::hash_map`, placed in a module `hashbrown`
//! (e.g. `anymap::hashbrown::AnyMap`).
#![warn(missing_docs, unused_results)]