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) <noreply@anthropic.com>
This commit is contained in:
Michael Netshipise 2026-06-05 11:16:32 +02:00
parent b9de877ba1
commit b6cbc42833
1 changed files with 1 additions and 1 deletions

View File

@ -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"