chore: dependencies updated

This commit is contained in:
Jack Wills
2025-04-17 15:43:45 +00:00
parent bca67116f3
commit 188490e13f
2 changed files with 2 additions and 4 deletions
Generated
+2 -3
View File
@@ -1347,13 +1347,12 @@ checksum = "74765f6d916ee2faa39bc8e68e4f3ed8949b48cccdac59983d287a7cb71ce9c5"
[[package]] [[package]]
name = "rand" name = "rand"
version = "0.9.0" version = "0.9.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3779b94aeb87e8bd4e834cee3650289ee9e0d5677f976ecdb6d219e5f4f6cd94" checksum = "9fbfd9d094a40bf3ae768db9361049ace4c0e04a4fd6b359518bd7b73a73dd97"
dependencies = [ dependencies = [
"rand_chacha", "rand_chacha",
"rand_core", "rand_core",
"zerocopy",
] ]
[[package]] [[package]]
-1
View File
@@ -35,7 +35,6 @@ impl ContainerId {
} }
/// Only return first 8 chars of id, is usually more than enough for uniqueness /// Only return first 8 chars of id, is usually more than enough for uniqueness
/// TODO container id is a hex string, so can assume that 0..=8 will always return a 8 char ascii &str
/// need to update tests to use real ids, or atleast strings of the correct-ish length /// need to update tests to use real ids, or atleast strings of the correct-ish length
pub fn get_short(&self) -> String { pub fn get_short(&self) -> String {
self.0.chars().take(8).collect::<String>() self.0.chars().take(8).collect::<String>()