From 03dd3ddf8b8c0ad254850cd940728c888dd7a80c Mon Sep 17 00:00:00 2001 From: Ellie Huxtable Date: Tue, 11 Apr 2023 16:26:16 +0100 Subject: Switch to uuidv7 (#864) * Add uuid_v7 * Actually use the new uuid * Add a test to ensure all uuids are unique, even in a tight loop * Make clippy happy --- atuin-common/Cargo.toml | 1 + 1 file changed, 1 insertion(+) (limited to 'atuin-common/Cargo.toml') diff --git a/atuin-common/Cargo.toml b/atuin-common/Cargo.toml index 16592381..d065a32d 100644 --- a/atuin-common/Cargo.toml +++ b/atuin-common/Cargo.toml @@ -14,3 +14,4 @@ repository = "https://github.com/ellie/atuin" chrono = { version = "0.4", features = ["serde"] } serde = { version = "1.0.145", features = ["derive"] } uuid = { version = "1.2", features = ["v4"] } +rand = { version = "0.8.5", features = ["std"] } -- cgit v1.3.1