Skip to content

Commit 8a503db

Browse files
committed
hash32: 0.3.0 -> 1.0.0
1 parent f692384 commit 8a503db

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
5858

5959
### Changed
6060

61+
- Updated `hash32` from `0.3.0` to `1.0.0`.
6162
- Updated defmt from 0.3 to 1.0.1
6263
- Changed the feature name from `defmt-03` to `defmt`.
6364
- Changed the error type of these methods from `()` to `CapacityError`.

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ nightly = []
4949
[dependencies]
5050
bytes = { version = "1", default-features = false, optional = true }
5151
portable-atomic = { version = "1.0", optional = true }
52-
hash32 = "0.3.0"
52+
hash32 = { git = "https://github.com/rust-embedded-community/hash32.git", rev = "e25fe5b4d22a0e0eca9201add6c78b683d2fdc87" }
5353
serde = { version = "1", optional = true, default-features = false }
5454
ufmt = { version = "0.2", optional = true }
5555
ufmt-write = { version = "0.1", optional = true }

src/de.rs

+1-2
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

+2-2
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

+2-2
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)