Fix build errors: ort error Send/Sync bound, ndarray version unification, inputs! macro

Verified with cargo check.
This commit is contained in:
2026-08-28 17:09:15 +00:00
parent 17f8e4b487
commit 94b827613d
4 changed files with 19 additions and 24 deletions
+2 -1
View File
@@ -13,7 +13,7 @@ path = "src/main.rs"
tokio = { version = "1.40", features = ["full"] }
redis = { version = "0.27", features = ["tokio-comp", "streams"] }
ort = { version = "2.0.0-rc.9", features = ["ndarray", "download-binaries"] }
ndarray = "0.16"
ndarray = "0.17"
image = "0.25"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
@@ -25,6 +25,7 @@ base64 = "0.22"
sqlx = { version = "0.8", features = ["runtime-tokio", "postgres", "chrono", "uuid"] }
uuid = { version = "1", features = ["v4", "serde"] }
chrono = { version = "0.4", features = ["serde"] }
dotenvy = "0.15"
[profile.release]
opt-level = 3