From 53382246ac476e9963a02a666317293e5eefb5a9 Mon Sep 17 00:00:00 2001 From: Andrew Phillips Date: Fri, 1 Sep 2023 15:36:21 +0000 Subject: [PATCH] Remove unused deps --- Cargo.lock | 85 +++++++++++++++++------------------------------------- Cargo.toml | 2 -- 2 files changed, 26 insertions(+), 61 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index fe190c2..73b6709 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -13,15 +13,6 @@ dependencies = [ "version_check", ] -[[package]] -name = "aho-corasick" -version = "1.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "43f6cb1bf222025340178f382c426f13757b2960e89779dfcb319c32542a5a41" -dependencies = [ - "memchr", -] - [[package]] name = "allocator-api2" version = "0.2.16" @@ -469,11 +460,10 @@ dependencies = [ "lazy_static", "libc", "log", + "lz4_flex", "prettytable-rs", - "regex", "rusqlite", "rusqlite_migration", - "signal-hook", "stderrlog", "strum", "strum_macros", @@ -521,6 +511,15 @@ version = "0.4.19" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b06a4cde4c0f271a446782e3eff8de789548ce57dbc8eca9292c27f4a42004b4" +[[package]] +name = "lz4_flex" +version = "0.11.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3ea9b256699eda7b0387ffbc776dd625e28bde3918446381781245b7a50349d8" +dependencies = [ + "twox-hash", +] + [[package]] name = "memchr" version = "2.5.0" @@ -606,35 +605,6 @@ dependencies = [ "thiserror", ] -[[package]] -name = "regex" -version = "1.9.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b2eae68fc220f7cf2532e4494aded17545fce192d59cd996e0fe7887f4ceb575" -dependencies = [ - "aho-corasick", - "memchr", - "regex-automata", - "regex-syntax", -] - -[[package]] -name = "regex-automata" -version = "0.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "83d3daa6976cffb758ec878f108ba0e062a45b2d6ca3a2cca965338855476caf" -dependencies = [ - "aho-corasick", - "memchr", - "regex-syntax", -] - -[[package]] -name = "regex-syntax" -version = "0.7.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5ea92a5b6195c6ef2a0295ea818b312502c6fc94dde986c5553242e18fd4ce2" - [[package]] name = "rusqlite" version = "0.29.0" @@ -691,31 +661,18 @@ version = "1.0.185" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "be9b6f69f1dfd54c3b568ffa45c310d6973a5e5148fd40cf515acaf38cf5bc31" -[[package]] -name = "signal-hook" -version = "0.3.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8621587d4798caf8eb44879d42e56b9a93ea5dcd315a6487c357130095b62801" -dependencies = [ - "libc", - "signal-hook-registry", -] - -[[package]] -name = "signal-hook-registry" -version = "1.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d8229b473baa5980ac72ef434c4415e70c4b5e71b423043adb4ba059f89c99a1" -dependencies = [ - "libc", -] - [[package]] name = "smallvec" version = "1.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "62bb4feee49fdd9f707ef802e22365a35de4b7b299de4763d44bfea899442ff9" +[[package]] +name = "static_assertions" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" + [[package]] name = "stderrlog" version = "0.5.4" @@ -829,6 +786,16 @@ dependencies = [ "winapi", ] +[[package]] +name = "twox-hash" +version = "1.6.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "97fee6b57c6a41524a810daee9286c02d7752c4253064d0b05472833a438f675" +dependencies = [ + "cfg-if", + "static_assertions", +] + [[package]] name = "unicode-ident" version = "1.0.10" diff --git a/Cargo.toml b/Cargo.toml index a597837..af84ab9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,13 +12,11 @@ directories = "5.0.1" lazy_static = "1.4.0" libc = "0.2.147" log = "0.4.19" -regex = "1.9.1" rusqlite = { version = "0.29.0", features = ["bundled", "array", "chrono"] } rusqlite_migration = "1.0.2" stderrlog = "0.5.4" strum_macros = "0.25" strum = { version = "0.25", features = ["derive"] } -signal-hook = "0.3.17" prettytable-rs = "0.10.0" chrono = "0.4.26" gethostname = "0.4.3"