From de2a94cb1e6d517deabd5f9d803f2294e28dc14e Mon Sep 17 00:00:00 2001 From: Michael Netshipise Date: Fri, 5 Jun 2026 11:16:32 +0200 Subject: [PATCH] fix: enable uuid v7 feature for new_uuid() -> Uuid::now_v7() The new_uuid() change to Uuid::now_v7() (in v0.3.8) needs the uuid crate's v7 feature; it only resolved locally via feature unification. Enable it explicitly so sqlx-record compiles standalone / as a git dependency. Co-Authored-By: Claude Opus 4.8 (1M context) --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 2be0e56..64e1eaf 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,7 +12,7 @@ edition = "2021" sqlx-record-derive = { path = "sqlx-record-derive", optional = true } sqlx = { version = "0.8", features = ["runtime-tokio", "uuid", "chrono", "json"] } serde_json = "1.0" -uuid = { version = "1", features = ["v4"] } +uuid = { version = "1", features = ["v4", "v7"] } chrono = "0.4" rand = "0.8" paste = "1.0"