Change hydrus wrapper protocol to cbor

Signed-off-by: trivernis <trivernis@protonmail.com>
main
trivernis 2 years ago
parent 4d8062b16f
commit 4b58f1f734
Signed by: Trivernis
GPG Key ID: DFFFCC2C7A02DB45

38
Cargo.lock generated

@ -209,6 +209,33 @@ dependencies = [
"winapi 0.3.9", "winapi 0.3.9",
] ]
[[package]]
name = "ciborium"
version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b0c137568cc60b904a7724001b35ce2630fd00d5d84805fbb608ab89509d788f"
dependencies = [
"ciborium-io",
"ciborium-ll",
"serde",
]
[[package]]
name = "ciborium-io"
version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "346de753af073cc87b52b2083a506b38ac176a44cfb05497b622e27be899b369"
[[package]]
name = "ciborium-ll"
version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "213030a2b5a4e0c0892b6652260cf6ccac84827b83a85a534e178e3906c4cf1b"
dependencies = [
"ciborium-io",
"half",
]
[[package]] [[package]]
name = "clap" name = "clap"
version = "3.2.17" version = "3.2.17"
@ -818,6 +845,12 @@ dependencies = [
"tracing", "tracing",
] ]
[[package]]
name = "half"
version = "1.8.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "eabb4a44450da02c90444cf74558da904edde8fb4e9035a9a6a4e15445af0bd7"
[[package]] [[package]]
name = "hashbrown" name = "hashbrown"
version = "0.12.3" version = "0.12.3"
@ -915,20 +948,21 @@ version = "0.9.3"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a3ee4a01380e02f9bf73d14e87021c756bc06d9838662a6bc27c786bba3b26c0" checksum = "a3ee4a01380e02f9bf73d14e87021c756bc06d9838662a6bc27c786bba3b26c0"
dependencies = [ dependencies = [
"base64 0.13.0",
"bytes 1.2.1", "bytes 1.2.1",
"chrono", "chrono",
"ciborium",
"lazy_static", "lazy_static",
"mime", "mime",
"regex", "regex",
"reqwest 0.11.11", "reqwest 0.11.11",
"serde", "serde",
"serde_json",
"tracing", "tracing",
] ]
[[package]] [[package]]
name = "hydrus-utils" name = "hydrus-utils"
version = "0.4.1" version = "0.4.2"
dependencies = [ dependencies = [
"clap", "clap",
"color-eyre", "color-eyre",

@ -12,7 +12,7 @@ repository = "https://github.com/Trivernis/hydrus-pixiv-tagger"
[dependencies] [dependencies]
pixiv-rs = "0.1.0" pixiv-rs = "0.1.0"
hydrus-api = "0.9.3" hydrus-api = { version = "0.9.3", default-features = false, features = ["cbor"] }
rustnao = "0.2.1" rustnao = "0.2.1"
tempdir = "0.3.7" tempdir = "0.3.7"
thiserror = "1.0.32" thiserror = "1.0.32"

Loading…
Cancel
Save