From a42279f4e6cd7706eee923186f1c7665b38382c8 Mon Sep 17 00:00:00 2001 From: trivernis Date: Wed, 22 Feb 2023 19:27:03 +0100 Subject: [PATCH] Change hydrus api format back to json --- Cargo.lock | 36 +----------------------------------- Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 36 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 14c1b70..a83a13c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -195,33 +195,6 @@ dependencies = [ "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]] name = "clap" version = "4.1.6" @@ -903,12 +876,6 @@ dependencies = [ "tracing", ] -[[package]] -name = "half" -version = "1.8.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eabb4a44450da02c90444cf74558da904edde8fb4e9035a9a6a4e15445af0bd7" - [[package]] name = "hashbrown" version = "0.12.3" @@ -1012,15 +979,14 @@ version = "0.9.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a3ee4a01380e02f9bf73d14e87021c756bc06d9838662a6bc27c786bba3b26c0" dependencies = [ - "base64 0.13.1", "bytes 1.4.0", "chrono", - "ciborium", "lazy_static", "mime", "regex", "reqwest 0.11.14", "serde", + "serde_json", "tracing", ] diff --git a/Cargo.toml b/Cargo.toml index c4d3381..347cfe2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,7 +12,7 @@ repository = "https://github.com/Trivernis/hydrus-pixiv-tagger" [dependencies] pixiv-rs = "0.1.0" -hydrus-api = { version = "0.9.3", default-features = false, features = ["cbor"] } +hydrus-api = { version = "0.9.3", default-features = false, features = ["json"] } rustnao = "0.2.1" tempdir = "0.3.7" thiserror = "1.0.38"