Skip to content

Commit 3d0e474

Browse files
authored
Switch to maintained version of rustc-hash (#21)
1 parent 51f95c6 commit 3d0e474

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ categories = [ "network-programming", "asynchronous" ]
1313

1414
[dependencies]
1515
bytes = "1.5.0"
16-
fxhash = "0.2.1"
1716
rand = "0.9.1"
17+
rustc-hash = "2.1.1"
1818
slab = "0.4.9"
1919
thiserror = "2.0.16"
2020
log = "0.4.21"

src/association/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ use timer::{RtoManager, Timer, TimerTable, ACK_INTERVAL};
3333

3434
use crate::association::stream::RecvSendState;
3535
use bytes::Bytes;
36-
use fxhash::FxHashMap;
3736
use log::{debug, error, trace, warn};
3837
use rand::random;
38+
use rustc_hash::FxHashMap;
3939
use std::collections::{HashMap, VecDeque};
4040
use std::net::{IpAddr, SocketAddr};
4141
use std::str::FromStr;

src/endpoint/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ use crate::util::{AssociationIdGenerator, RandomAssociationIdGenerator};
2121
use crate::{EcnCodepoint, Payload, Transmit};
2222

2323
use bytes::Bytes;
24-
use fxhash::FxHashMap;
2524
use log::{debug, trace};
2625
use rand::{rngs::StdRng, SeedableRng};
26+
use rustc_hash::FxHashMap;
2727
use slab::Slab;
2828
use thiserror::Error;
2929

0 commit comments

Comments
 (0)