Add radicle, thiserror and ts-rs dependencies

This commit is contained in:
Sebastian Martinez
2024-08-21 12:53:23 +02:00
parent 52c491d2ea
commit 1a95a7e826
2 changed files with 111 additions and 6 deletions
+103 -2
View File
@@ -209,6 +209,12 @@ version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "23ce669cd6c8588f79e15cf450314f9638f967fc5770ff1c7c1deb0925ea7cfa"
[[package]]
name = "base64"
version = "0.13.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9e1b586273c5702936fe7b7d6896644d8be71e6314cfe09d3167c95f712589e8"
[[package]]
name = "base64"
version = "0.21.7"
@@ -1135,6 +1141,18 @@ dependencies = [
"rustc_version",
]
[[package]]
name = "filetime"
version = "0.2.24"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bf401df4a4e3872c4fe8151134cf483738e74b67fc934d6532c882b3d24a4550"
dependencies = [
"cfg-if",
"libc",
"libredox",
"windows-sys 0.59.0",
]
[[package]]
name = "flate2"
version = "1.0.30"
@@ -2120,6 +2138,7 @@ checksum = "c0ff37bd590ca25063e35af745c343cb7a0271906fb7b37e4813e8f79f00268d"
dependencies = [
"bitflags 2.6.0",
"libc",
"redox_syscall",
]
[[package]]
@@ -2339,6 +2358,12 @@ version = "0.1.14"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "72ef4a56884ca558e5ddb05a1d1e7e1bfd9a68d9ed024c21704cc98872dae1bb"
[[package]]
name = "nonempty"
version = "0.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9ff7ac1e5ea23db6d61ad103e91864675049644bf47c35912336352fa4e9c109"
[[package]]
name = "nonempty"
version = "0.9.0"
@@ -3092,7 +3117,7 @@ dependencies = [
"localtime",
"log",
"multibase",
"nonempty",
"nonempty 0.9.0",
"once_cell",
"radicle-cob",
"radicle-crypto",
@@ -3116,7 +3141,7 @@ dependencies = [
"fastrand",
"git2",
"log",
"nonempty",
"nonempty 0.9.0",
"once_cell",
"radicle-crypto",
"radicle-dag",
@@ -3159,12 +3184,15 @@ name = "radicle-desktop"
version = "0.0.0"
dependencies = [
"radicle",
"radicle-surf",
"serde",
"serde_json",
"tauri",
"tauri-build",
"tauri-plugin-shell",
"tauri-plugin-window-state",
"thiserror",
"ts-rs",
]
[[package]]
@@ -3199,6 +3227,25 @@ version = "0.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "db20136bbc9ae63f3fec8e5a6c369f4902fac2244501b5dfc6d668e43475aaa4"
[[package]]
name = "radicle-surf"
version = "0.21.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5fae23233ff8be809a822d923e93e56e5282179039b19f345f39f592c1ca0765"
dependencies = [
"anyhow",
"base64 0.13.1",
"flate2",
"git2",
"log",
"nonempty 0.5.0",
"radicle-git-ext",
"radicle-std-ext",
"tar",
"thiserror",
"url",
]
[[package]]
name = "rand"
version = "0.7.3"
@@ -4104,6 +4151,17 @@ dependencies = [
"syn 1.0.109",
]
[[package]]
name = "tar"
version = "0.4.41"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cb797dad5fb5b76fcf519e702f4a589483b5ef06567f160c392832c1f5e44909"
dependencies = [
"filetime",
"libc",
"xattr",
]
[[package]]
name = "target-lexicon"
version = "0.12.15"
@@ -4391,6 +4449,15 @@ dependencies = [
"utf-8",
]
[[package]]
name = "termcolor"
version = "1.4.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "06794f8f6c5c898b3275aebefa6b8a1cb24cd2c6c79397ab15774837a0bc5755"
dependencies = [
"winapi-util",
]
[[package]]
name = "thin-slice"
version = "0.1.1"
@@ -4675,6 +4742,29 @@ version = "0.2.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b"
[[package]]
name = "ts-rs"
version = "9.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b44017f9f875786e543595076374b9ef7d13465a518dd93d6ccdbf5b432dde8c"
dependencies = [
"serde_json",
"thiserror",
"ts-rs-macros",
]
[[package]]
name = "ts-rs-macros"
version = "9.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c88cc88fd23b5a04528f3a8436024f20010a16ec18eb23c164b1242f65860130"
dependencies = [
"proc-macro2",
"quote",
"syn 2.0.72",
"termcolor",
]
[[package]]
name = "typeid"
version = "1.0.0"
@@ -5478,6 +5568,17 @@ dependencies = [
"pkg-config",
]
[[package]]
name = "xattr"
version = "1.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8da84f1a25939b27f6820d92aed108f83ff920fdf11a7b19366c27c4cda81d4f"
dependencies = [
"libc",
"linux-raw-sys",
"rustix",
]
[[package]]
name = "zeroize"
version = "1.8.1"
+8 -4
View File
@@ -19,12 +19,16 @@ crate-type = ["staticlib", "cdylib", "lib"]
tauri-build = { version = "2.0.0-rc.0", features = ["isolation"] }
[dependencies]
serde_json = "1.0"
serde = { version = "1.0", features = ["derive"] }
tauri = { version = "2.0.0-rc.0", features = ["isolation"] }
tauri-plugin-shell = "2.0.0-rc.0"
radicle = "0.12.0"
radicle = { version = "0.12.0" }
radicle-surf = { version = "0.21.0" }
serde = { version = "1.0", features = ["derive"] }
serde_json = { version = "1.0" }
tauri = { version = "2.0.0-rc.0", features = ["isolation"] }
tauri-plugin-shell = { version = "2.0.0-rc.0" }
tauri-plugin-window-state = "2.0.0-rc.1"
thiserror = { version = "1.0.63" }
ts-rs = { version = "9.0.1", features = ["serde-json-impl"] }
[features]
# by default Tauri runs in production mode