forked from mirrors/jj
cargo: upgrade uuid
to 1.0.0
This commit is contained in:
parent
56f7478603
commit
f5e9444456
3 changed files with 4 additions and 4 deletions
4
Cargo.lock
generated
4
Cargo.lock
generated
|
@ -1664,9 +1664,9 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "uuid"
|
||||
version = "0.8.2"
|
||||
version = "1.0.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "bc5cf98d8186244414c848017f0e2676b3fcb46807f6668a97dfe67359a3c4b7"
|
||||
checksum = "8cfcd319456c4d6ea10087ed423473267e1a071f3bc0aa89f80d60997843c6f0"
|
||||
dependencies = [
|
||||
"getrandom",
|
||||
]
|
||||
|
|
|
@ -36,7 +36,7 @@ regex = "1.5.5"
|
|||
serde_json = "1.0.79"
|
||||
tempfile = "3.3.0"
|
||||
thiserror = "1.0.30"
|
||||
uuid = { version = "0.8.2", features = ["v4"] }
|
||||
uuid = { version = "1.0.0", features = ["v4"] }
|
||||
whoami = "1.2.1"
|
||||
zstd = "0.11.1"
|
||||
|
||||
|
|
|
@ -147,7 +147,7 @@ fn create_no_gc_ref() -> String {
|
|||
let mut no_gc_ref = NO_GC_REF_NAMESPACE.to_owned();
|
||||
let mut uuid_buffer = Uuid::encode_buffer();
|
||||
let uuid_str = Uuid::new_v4()
|
||||
.to_hyphenated()
|
||||
.as_hyphenated()
|
||||
.encode_lower(&mut uuid_buffer);
|
||||
no_gc_ref.push_str(uuid_str);
|
||||
no_gc_ref
|
||||
|
|
Loading…
Reference in a new issue