From f86d6cf3dcf815b4c463f457aa96b23f95809668 Mon Sep 17 00:00:00 2001 From: alterwain Date: Tue, 25 Feb 2025 15:27:02 +0300 Subject: [PATCH] modified: Cargo.lock modified: Cargo.toml --- Cargo.lock | 9 +++++++-- Cargo.toml | 3 +-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index d018625..d1f4b88 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -547,6 +547,12 @@ dependencies = [ "wasm-bindgen", ] +[[package]] +name = "json" +version = "0.12.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "078e285eafdfb6c4b434e0d31e8cfcb5115b651496faca5749b88fafd4f23bfd" + [[package]] name = "libc" version = "0.2.169" @@ -1522,9 +1528,8 @@ dependencies = [ name = "youtube" version = "0.1.0" dependencies = [ + "json", "reqwest", - "serde", - "serde_json", "tokio", ] diff --git a/Cargo.toml b/Cargo.toml index b9f9407..a32cbe8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,5 +6,4 @@ edition = "2021" [dependencies] reqwest = { version = "0.12.12", features = ["json"] } tokio = { version = "1", features = ["full"] } -serde = { version = "1.0.217", features = ["derive"] } -serde_json = "1.0.138" \ No newline at end of file +json = "0.12.4" \ No newline at end of file