Add serde_json with new support for ts-rs

This commit is contained in:
Dan Shaw
2024-05-22 13:06:08 -07:00
parent b06158ba4e
commit a4452f775b
2 changed files with 2 additions and 1 deletions

1
src-tauri/Cargo.lock generated
View File

@ -6080,6 +6080,7 @@ version = "8.1.0"
source = "git+https://github.com/Aleph-Alpha/ts-rs#f898578d80d3e2a54080c1c046c45f9eaa2435c3"
dependencies = [
"chrono",
"serde_json",
"thiserror",
"ts-rs-macros",
"url",

View File

@ -39,7 +39,7 @@ sha2 = "0.10.8"
thiserror = "1.0.61"
toml = "0.8.13"
# TODO: change this to a cargo release once 8.1.1 comes out
ts-rs = { git = "https://github.com/Aleph-Alpha/ts-rs", features = ["uuid-impl", "url-impl", "chrono-impl", "no-serde-warnings"] }
ts-rs = { git = "https://github.com/Aleph-Alpha/ts-rs", features = ["uuid-impl", "url-impl", "chrono-impl", "no-serde-warnings", "serde-json-impl"] }
url = { version = "2.5.0", features = ["serde"] }
uuid = { version = "1.8.0", features = ["v4", "js", "serde"] }
validator = { version = "0.18.1", features = ["derive"] }