Commit 39d8f2b
committed
chore(deps): bump sha2 to 0.11 and rand to 0.10
- sha2 0.10 -> 0.11 changes the digest output type so it no longer
implements LowerHex; switch compute_hash to use the existing
bytes_to_hex helper (same lower-hex output, byte-identical).
- rand 0.9 -> 0.10 removes rand::rng().random::<[u8; N]>(); use the
top-level rand::random::<[u8; N]>() instead. Drops the now-unused
use rand::Rng import.
cargo build + cargo test (30 passed) green.
Refs encryption4all/dobby#25, #1171 parent 58883a8 commit 39d8f2b
5 files changed
Lines changed: 133 additions & 82 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
245 | 245 | | |
246 | 246 | | |
247 | 247 | | |
248 | | - | |
| 248 | + | |
249 | 249 | | |
250 | 250 | | |
251 | 251 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
0 commit comments