From 89549b367b694ae7a5570d5e50975979aa1bceee Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 22 Apr 2022 21:38:37 +0100 Subject: Bump uuid from 0.8.2 to 1.0.0 (#311) * Bump uuid from 0.8.2 to 1.0.0 Bumps [uuid](https://github.com/uuid-rs/uuid) from 0.8.2 to 1.0.0. - [Release notes](https://github.com/uuid-rs/uuid/releases) - [Commits](https://github.com/uuid-rs/uuid/compare/0.8.2...1.0.0) --- updated-dependencies: - dependency-name: uuid dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] * patch Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Conrad Ludgate --- atuin-common/Cargo.toml | 2 +- atuin-common/src/utils.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'atuin-common') diff --git a/atuin-common/Cargo.toml b/atuin-common/Cargo.toml index 59caa796..fd0af955 100644 --- a/atuin-common/Cargo.toml +++ b/atuin-common/Cargo.toml @@ -14,4 +14,4 @@ repository = "https://github.com/ellie/atuin" rust-crypto = "^0.2" chrono = { version = "0.4", features = ["serde"] } serde = { version = "1.0.126", features = ["derive"] } -uuid = { version = "0.8", features = ["v4"] } +uuid = { version = "1.0", features = ["v4"] } diff --git a/atuin-common/src/utils.rs b/atuin-common/src/utils.rs index 23e34252..3e3e645b 100644 --- a/atuin-common/src/utils.rs +++ b/atuin-common/src/utils.rs @@ -13,7 +13,7 @@ pub fn hash_str(string: &str) -> String { } pub fn uuid_v4() -> String { - Uuid::new_v4().to_simple().to_string() + Uuid::new_v4().as_simple().to_string() } // TODO: more reliable, more tested -- cgit v1.3.1