Skip to content

Commit bb27430

Browse files
committed
hash32: 0.3.0 -> 1.0.0
1 parent f974fc1 commit bb27430

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
9191

9292
### Changed
9393

94+
- Updated `hash32` from `0.3.0` to `1.0.0`.
9495
- Updated defmt from 0.3 to 1.0.1
9596
- Changed the feature name from `defmt-03` to `defmt`.
9697
- Changed the error type of these methods from `()` to `CapacityError`.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ nightly = []
5858
[dependencies]
5959
bytes = { version = "1", default-features = false, optional = true }
6060
portable-atomic = { version = "1.0", optional = true }
61-
hash32 = "0.3.0"
61+
hash32 = "1"
6262
serde = { version = "1", optional = true, default-features = false }
6363
ufmt = { version = "0.2", optional = true }
6464
ufmt-write = { version = "0.1", optional = true }

src/de.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,9 @@ use crate::{
44
};
55
use core::{
66
fmt,
7-
hash::{Hash, Hasher},
7+
hash::{BuildHasherDefault, Hash, Hasher},
88
marker::PhantomData,
99
};
10-
use hash32::BuildHasherDefault;
1110
use serde::de::{self, Deserialize, Deserializer, Error, MapAccess, SeqAccess};
1211

1312
// Sequential containers

src/index_map.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
use core::{
33
borrow::Borrow,
44
fmt,
5-
hash::{BuildHasher, Hash},
5+
hash::{BuildHasher, BuildHasherDefault, Hash},
66
mem,
77
num::NonZeroU32,
88
ops, slice,
99
};
1010

11-
use hash32::{BuildHasherDefault, FnvHasher};
11+
use hash32::FnvHasher;
1212

1313
use crate::Vec;
1414

src/index_set.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
use core::{
33
borrow::Borrow,
44
fmt,
5-
hash::{BuildHasher, Hash},
5+
hash::{BuildHasher, BuildHasherDefault, Hash},
66
};
77

8-
use hash32::{BuildHasherDefault, FnvHasher};
8+
use hash32::FnvHasher;
99

1010
use crate::index_map::{self, IndexMap};
1111

0 commit comments

Comments
 (0)