chore: add ts-rs

This commit is contained in:
Sergey Onufrienko 2023-06-12 22:12:24 +02:00
parent db5bb4ec03
commit b494b43496
No known key found for this signature in database
GPG Key ID: 3299873ECFD30CA3
2 changed files with 26 additions and 1 deletions

26
Cargo.lock generated
View File

@ -2832,6 +2832,7 @@ dependencies = [
"sum_tree",
"time 0.3.21",
"tiny-skia",
"ts-rs",
"usvg",
"util",
"uuid 1.3.2",
@ -7559,7 +7560,7 @@ dependencies = [
[[package]]
name = "tree-sitter-yaml"
version = "0.0.1"
source = "git+https://github.com/zed-industries/tree-sitter-yaml?rev=5694b7f290cd9ef998829a0a6d8391a666370886#5694b7f290cd9ef998829a0a6d8391a666370886"
source = "git+https://github.com/zed-industries/tree-sitter-yaml?rev=f545a41f57502e1b5ddf2a6668896c1b0620f930#f545a41f57502e1b5ddf2a6668896c1b0620f930"
dependencies = [
"cc",
"tree-sitter",
@ -7571,6 +7572,29 @@ version = "0.2.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3528ecfd12c466c6f163363caf2d02a71161dd5e1cc6ae7b34207ea2d42d81ed"
[[package]]
name = "ts-rs"
version = "6.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4added4070a4fdf9df03457206cd2e4b12417c8560a2954d91ffcbe60177a56a"
dependencies = [
"thiserror",
"ts-rs-macros",
]
[[package]]
name = "ts-rs-macros"
version = "6.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9f807fdb3151fee75df7485b901a89624358cd07a67a8fb1a5831bf5a07681ff"
dependencies = [
"Inflector",
"proc-macro2",
"quote",
"syn 1.0.109",
"termcolor",
]
[[package]]
name = "ttf-parser"
version = "0.9.0"

View File

@ -51,6 +51,7 @@ tiny-skia = "0.5"
usvg = { version = "0.14", features = [] }
uuid = { version = "1.1.2", features = ["v4"] }
waker-fn = "1.1.0"
ts-rs = "6.2.1"
[build-dependencies]
bindgen = "0.65.1"