From a99d9a8988cc44fc57202dbf74bfd63aa217ebe1 Mon Sep 17 00:00:00 2001 From: meteorgan Date: Sun, 9 Feb 2025 21:05:06 +0800 Subject: [PATCH] chore: remove unused dependencies --- Cargo.lock | 53 ------------------------------------ core/Cargo.toml | 3 -- extensions/core/Cargo.toml | 1 - extensions/regexp/Cargo.toml | 1 - extensions/series/Cargo.toml | 1 - tests/Cargo.toml | 3 -- 6 files changed, 62 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 3d610591d..a57d30b7d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -480,8 +480,6 @@ version = "0.0.14" dependencies = [ "anyhow", "assert_cmd", - "clap", - "dirs", "env_logger 0.10.2", "limbo_core", "log", @@ -489,7 +487,6 @@ dependencies = [ "rand_chacha 0.9.0", "rexpect", "rusqlite", - "rustyline", "tempfile", ] @@ -721,12 +718,6 @@ version = "0.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fea41bba32d969b513997752735605054bc0dfa92b4c56bf1189f2e174be7a10" -[[package]] -name = "downcast" -version = "0.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1435fa1053d8b2fbbe9be7e97eca7f33d37b28409959813daefc1446a14247f1" - [[package]] name = "either" version = "1.13.0" @@ -901,12 +892,6 @@ dependencies = [ "percent-encoding", ] -[[package]] -name = "fragile" -version = "2.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c2141d6d6c8512188a7891b4b01590a45f6dac67afb4f255c4124dbb86d4eaa" - [[package]] name = "fsevent-sys" version = "4.1.0" @@ -1617,7 +1602,6 @@ name = "limbo_core" version = "0.0.14" dependencies = [ "built", - "bumpalo", "cfg_block", "chrono", "criterion", @@ -1642,7 +1626,6 @@ dependencies = [ "log", "miette", "mimalloc", - "mockall", "parking_lot", "pest", "pest_derive", @@ -1657,7 +1640,6 @@ dependencies = [ "rusqlite", "rustix", "serde", - "sieve-cache", "sqlite3-parser", "strum", "tempfile", @@ -1683,7 +1665,6 @@ name = "limbo_ext" version = "0.0.14" dependencies = [ "limbo_macros", - "log", ] [[package]] @@ -1717,7 +1698,6 @@ name = "limbo_regexp" version = "0.0.14" dependencies = [ "limbo_ext", - "log", "mimalloc", "regex", ] @@ -1727,7 +1707,6 @@ name = "limbo_series" version = "0.0.14" dependencies = [ "limbo_ext", - "log", "mimalloc", "quickcheck", "quickcheck_macros", @@ -1908,32 +1887,6 @@ dependencies = [ "windows-sys 0.52.0", ] -[[package]] -name = "mockall" -version = "0.13.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "39a6bfcc6c8c7eed5ee98b9c3e33adc726054389233e201c95dab2d41a3839d2" -dependencies = [ - "cfg-if", - "downcast", - "fragile", - "mockall_derive", - "predicates", - "predicates-tree", -] - -[[package]] -name = "mockall_derive" -version = "0.13.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "25ca3004c2efe9011bd4e461bd8256445052b9615405b4f7ea43fc8ca5c20898" -dependencies = [ - "cfg-if", - "proc-macro2", - "quote", - "syn 2.0.96", -] - [[package]] name = "nibble_vec" version = "0.1.0" @@ -2796,12 +2749,6 @@ version = "1.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64" -[[package]] -name = "sieve-cache" -version = "0.1.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "51bf3a9dccf2c079bf1465d449a485c85b36443caf765f2f127bfec28b180f75" - [[package]] name = "signal-hook-registry" version = "1.4.2" diff --git a/core/Cargo.toml b/core/Cargo.toml index d13591aee..933654d78 100644 --- a/core/Cargo.toml +++ b/core/Cargo.toml @@ -47,7 +47,6 @@ fallible-iterator = "0.3.0" hex = "0.4.3" libc = "0.2.155" log = "0.4.20" -sieve-cache = "0.1.4" sqlite3-parser = { path = "../vendored/sqlite3-parser" } thiserror = "1.0.61" getrandom = { version = "0.2.15", features = ["js"] } @@ -61,7 +60,6 @@ serde = { version = "1.0", features = ["derive"] } pest = { version = "2.0", optional = true } pest_derive = { version = "2.0", optional = true } rand = "0.8.5" -bumpalo = { version = "3.16.0", features = ["collections", "boxed"] } limbo_macros = { path = "../macros" } limbo_uuid = { path = "../extensions/uuid", optional = true, features = ["static"] } limbo_regexp = { path = "../extensions/regexp", optional = true, features = ["static"] } @@ -88,7 +86,6 @@ criterion = { version = "0.5", features = [ "async", "async_futures", ] } -mockall = "0.13.0" rstest = "0.18.2" rusqlite = "0.29.0" tempfile = "3.8.0" diff --git a/extensions/core/Cargo.toml b/extensions/core/Cargo.toml index 3194bcadb..7dc60b498 100644 --- a/extensions/core/Cargo.toml +++ b/extensions/core/Cargo.toml @@ -12,5 +12,4 @@ default = [] static = [] [dependencies] -log = "0.4.20" limbo_macros = { path = "../../macros" } diff --git a/extensions/regexp/Cargo.toml b/extensions/regexp/Cargo.toml index c8288e601..9702db5f1 100644 --- a/extensions/regexp/Cargo.toml +++ b/extensions/regexp/Cargo.toml @@ -17,7 +17,6 @@ crate-type = ["cdylib", "lib"] [dependencies] limbo_ext = { path = "../core", features = ["static"] } regex = "1.11.1" -log = "0.4.20" [target.'cfg(not(target_family = "wasm"))'.dependencies] mimalloc = { version = "*", default-features = false } diff --git a/extensions/series/Cargo.toml b/extensions/series/Cargo.toml index 823e95472..33f45cff2 100644 --- a/extensions/series/Cargo.toml +++ b/extensions/series/Cargo.toml @@ -15,7 +15,6 @@ crate-type = ["cdylib", "lib"] [dependencies] limbo_ext = { path = "../core", features = ["static"] } -log = "0.4.20" [target.'cfg(not(target_family = "wasm"))'.dependencies] mimalloc = { version = "*", default-features = false } diff --git a/tests/Cargo.toml b/tests/Cargo.toml index f3e67d73a..a17c58910 100644 --- a/tests/Cargo.toml +++ b/tests/Cargo.toml @@ -16,11 +16,8 @@ path = "integration/mod.rs" [dependencies] anyhow = "1.0.75" -clap = { version = "4.5", features = ["derive"] } -dirs = "5.0.1" env_logger = "0.10.1" limbo_core = { path = "../core" } -rustyline = "12.0.0" rusqlite = { version = "0.29", features = ["bundled"] } tempfile = "3.0.7" log = "0.4.22"