Add back uuid support

This commit is contained in:
Andras Schmelczer 2024-12-15 11:39:36 +00:00
commit cd46acd130
No known key found for this signature in database
GPG key ID: FC8F2C3D3D1A718C
2 changed files with 19 additions and 2 deletions

16
backend/Cargo.lock generated
View file

@ -1560,6 +1560,7 @@ dependencies = [
"schemars_derive", "schemars_derive",
"serde", "serde",
"serde_json", "serde_json",
"uuid",
] ]
[[package]] [[package]]
@ -1847,6 +1848,7 @@ dependencies = [
"tokio-stream", "tokio-stream",
"tracing", "tracing",
"url", "url",
"uuid",
] ]
[[package]] [[package]]
@ -1928,6 +1930,7 @@ dependencies = [
"stringprep", "stringprep",
"thiserror", "thiserror",
"tracing", "tracing",
"uuid",
"whoami", "whoami",
] ]
@ -1967,6 +1970,7 @@ dependencies = [
"stringprep", "stringprep",
"thiserror", "thiserror",
"tracing", "tracing",
"uuid",
"whoami", "whoami",
] ]
@ -1992,6 +1996,7 @@ dependencies = [
"sqlx-core", "sqlx-core",
"tracing", "tracing",
"url", "url",
"uuid",
] ]
[[package]] [[package]]
@ -2062,6 +2067,7 @@ dependencies = [
"tokio", "tokio",
"tower-http", "tower-http",
"tracing-subscriber", "tracing-subscriber",
"uuid",
] ]
[[package]] [[package]]
@ -2432,6 +2438,16 @@ version = "1.0.4"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b6c140620e7ffbb22c2dee59cafe6084a59b5ffc27a8859a5f0d494b5d52b6be" checksum = "b6c140620e7ffbb22c2dee59cafe6084a59b5ffc27a8859a5f0d494b5d52b6be"
[[package]]
name = "uuid"
version = "1.11.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f8c5f0a0af699448548ad1a2fbf920fb4bee257eae39953ba95cb84891a0446a"
dependencies = [
"getrandom",
"serde",
]
[[package]] [[package]]
name = "valuable" name = "valuable"
version = "0.1.0" version = "0.1.0"

View file

@ -11,15 +11,16 @@ serde = {workspace = true}
thiserror = {workspace = true} thiserror = {workspace = true}
anyhow = {workspace = true} anyhow = {workspace = true}
log = {workspace = true} log = {workspace = true}
uuid = {workspace = true}
axum = { version = "0.7.9", features = ["ws", "macros"]} axum = { version = "0.7.9", features = ["ws", "macros"]}
tokio = { version = "1.42.0", features = ["full"]} tokio = { version = "1.42.0", features = ["full"]}
tracing-subscriber = "0.3.19" tracing-subscriber = "0.3.19"
serde_yaml = "0.9.34" serde_yaml = "0.9.34"
sqlx = { version = "0.8.2", features = ["sqlite", "runtime-tokio", "chrono"] } sqlx = { version = "0.8.2", features = ["sqlite", "runtime-tokio", "uuid", "chrono"] }
chrono = { version = "0.4.38", features = ["serde"] } chrono = { version = "0.4.38", features = ["serde"] }
aide = { version = "0.13.4", features = ["axum", "axum-ws", "scalar", "axum-headers"] } aide = { version = "0.13.4", features = ["axum", "axum-ws", "scalar", "axum-headers"] }
schemars = { version = "0.8.21", features = ["chrono"] } schemars = { version = "0.8.21", features = ["chrono", "uuid1"] }
rand = "0.8.5" rand = "0.8.5"
axum-extra = { version = "0.9.6", features = ["typed-header"] } axum-extra = { version = "0.9.6", features = ["typed-header"] }
tower-http = { version = "0.6.1", features = ["cors"] } tower-http = { version = "0.6.1", features = ["cors"] }