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 --- src/command/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/command/mod.rs') diff --git a/src/command/mod.rs b/src/command/mod.rs index 1411bfd2..4ed1691a 100644 --- a/src/command/mod.rs +++ b/src/command/mod.rs @@ -60,7 +60,7 @@ impl AtuinCmd { Ok(()) } Self::Uuid => { - println!("{}", atuin_common::utils::uuid_v4()); + println!("{}", atuin_common::utils::uuid_v7().as_simple()); Ok(()) } Self::GenCompletions { shell, out_dir } => { -- cgit v1.3.1