From 5cc613af20e7df892cc12fad5742fc4728d4cf9d Mon Sep 17 00:00:00 2001 From: Dax Huiberts Date: Thu, 17 Oct 2024 21:45:52 +0200 Subject: [PATCH] book: Remove unused dirs dependency --- book/listings/Cargo.lock | 49 ---------------------------------------- book/listings/Cargo.toml | 1 - 2 files changed, 50 deletions(-) diff --git a/book/listings/Cargo.lock b/book/listings/Cargo.lock index 5ba88b680d8f..ff22a737d1ed 100644 --- a/book/listings/Cargo.lock +++ b/book/listings/Cargo.lock @@ -369,27 +369,6 @@ dependencies = [ "crypto-common", ] -[[package]] -name = "dirs" -version = "5.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "44c45a9d03d6676652bcb5e724c7e988de1acad23a711b5217ab9cbecbec2225" -dependencies = [ - "dirs-sys", -] - -[[package]] -name = "dirs-sys" -version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "520f05a5cbd335fae5a99ff7a6ab8627577660ee5cfd6a94a6a929b52ff0321c" -dependencies = [ - "libc", - "option-ext", - "redox_users", - "windows-sys 0.48.0", -] - [[package]] name = "endi" version = "1.1.0" @@ -893,7 +872,6 @@ dependencies = [ "anyhow", "ashpd", "async-channel", - "dirs", "glib-build-tools", "gtk4", "libadwaita", @@ -1129,16 +1107,6 @@ version = "0.2.155" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "97b3888a4aecf77e811145cadf6eef5901f4782c53886191b2f693f24761847c" -[[package]] -name = "libredox" -version = "0.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c0ff37bd590ca25063e35af745c343cb7a0271906fb7b37e4813e8f79f00268d" -dependencies = [ - "bitflags", - "libc", -] - [[package]] name = "linux-raw-sys" version = "0.4.14" @@ -1230,12 +1198,6 @@ version = "1.19.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92" -[[package]] -name = "option-ext" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "04744f49eae99ab78e0d5c0b603ab218f515ea8cfe5a456d7629ad883a3b6e7d" - [[package]] name = "ordered-stream" version = "0.2.0" @@ -1456,17 +1418,6 @@ dependencies = [ "getrandom", ] -[[package]] -name = "redox_users" -version = "0.4.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bd283d9651eeda4b2a83a43c1c91b266c40fd76ecd39a50a8c630ae69dc72891" -dependencies = [ - "getrandom", - "libredox", - "thiserror", -] - [[package]] name = "reqwest" version = "0.12.5" diff --git a/book/listings/Cargo.toml b/book/listings/Cargo.toml index 56a5d9ebf527..54b472ae7d09 100644 --- a/book/listings/Cargo.toml +++ b/book/listings/Cargo.toml @@ -9,7 +9,6 @@ adw = { version = "0.7", package = "libadwaita", features = ["v1_5"] } anyhow = "1.0" ashpd = { version = "0.9", features = ["gtk4"] } async-channel = "2.0" -dirs = "5.0" gtk = { version = "0.9", package = "gtk4", features = ["v4_12"] } reqwest = { version = "0.12", default-features = false, features = [ "rustls-tls",