Serialize and deserialize DTX packets

This commit is contained in:
Jackson Coxson
2025-03-11 16:45:14 -06:00
parent 4eeab8f498
commit dca957ccee
12 changed files with 636 additions and 303 deletions

41
Cargo.lock generated
View File

@@ -238,6 +238,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "769b0145982b4b48713e01ec42d61614425f27b7058bda7180a3a41f30104796"
dependencies = [
"clap_builder",
"clap_derive",
]
[[package]]
@@ -252,6 +253,18 @@ dependencies = [
"strsim",
]
[[package]]
name = "clap_derive"
version = "4.5.24"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "54b755194d6389280185988721fffba69495eed5ee9feeee9a599b53db80318c"
dependencies = [
"heck",
"proc-macro2",
"quote",
"syn 2.0.96",
]
[[package]]
name = "clap_lex"
version = "0.7.4"
@@ -636,6 +649,12 @@ version = "0.15.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bf151400ff0baff5465007dd2f3e717f3fe502074ca563069ce3a6629d07b289"
[[package]]
name = "heck"
version = "0.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
[[package]]
name = "http"
version = "1.2.0"
@@ -883,6 +902,7 @@ dependencies = [
"indexmap",
"json",
"log",
"ns-keyed-archive",
"openssl",
"plist",
"reqwest",
@@ -1119,6 +1139,27 @@ dependencies = [
"libc",
]
[[package]]
name = "ns-keyed-archive"
version = "0.1.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "82124a464c3fe86dea8ac04edef9438615f680cccfbd7bf08e0a3fd1565b03cc"
dependencies = [
"nskeyedarchiver_converter",
"plist",
]
[[package]]
name = "nskeyedarchiver_converter"
version = "0.1.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f237a10fe003123daa55a74b63a0b0a65de1671b2d128711ffe5886891a8f77f"
dependencies = [
"clap",
"plist",
"thiserror",
]
[[package]]
name = "num-conv"
version = "0.1.0"