Blob Blame History Raw
From 976d824926f8517479e5cf4b7865c71814e371d4 Mon Sep 17 00:00:00 2001
From: Kan-Ru Chen <kanru@kanru.info>
Date: Tue, 14 May 2024 22:14:28 +0900
Subject: [PATCH] Delete unused optional dependencies

---
 Cargo.toml       | 3 ---
 tools/Cargo.toml | 3 +--
 2 files changed, 1 insertion(+), 5 deletions(-)

diff --git a/Cargo.toml b/Cargo.toml
index bad723b..c6e2d70 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -23,9 +23,6 @@ directories = "5.0.0"
 log = { workspace = true }
 rusqlite = { version = ">= 0.28.0", optional = true }
 
-[target.'cfg(windows)'.dependencies]
-rusqlite = { version = ">= 0.28.0", features = ["bundled"], optional = true }
-
 [dev-dependencies]
 tempfile = { workspace = true }
 
diff --git a/tools/Cargo.toml b/tools/Cargo.toml
index c52f344..b1efdf2 100644
--- a/tools/Cargo.toml
+++ b/tools/Cargo.toml
@@ -9,7 +9,6 @@ edition = "2021"
 anyhow = "1.0.0"
 chewing = { version = "0.8.4", path = "..", features = ["sqlite"] }
 clap = { version = "4.4.18", features = ["derive"] }
-clap_mangen = { version = "0.2.12", optional = true }
 
 [features]
-mangen = ["dep:clap_mangen"]
+mangen = []
-- 
2.45.0