From 780aa3b134120646f657ca6e4cdd00adfce9251e Mon Sep 17 00:00:00 2001 From: FliegendeWurst <2012gdwu+github@posteo.de> Date: Mon, 31 Jul 2023 16:06:13 +0200 Subject: [PATCH] Drop not needed deps --- Cargo.lock | 109 ++++++----------------------------------------------- Cargo.toml | 1 - 2 files changed, 11 insertions(+), 99 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 618d268..34781d8 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -45,7 +45,7 @@ version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "43f6cb1bf222025340178f382c426f13757b2960e89779dfcb319c32542a5a41" dependencies = [ - "memchr 2.5.0", + "memchr", ] [[package]] @@ -160,7 +160,7 @@ dependencies = [ "bzip2", "flate2", "futures-core", - "memchr 2.5.0", + "memchr", "pin-project-lite", "tokio", "xz2", @@ -179,7 +179,7 @@ dependencies = [ "flate2", "futures-core", "futures-io", - "memchr 2.5.0", + "memchr", "pin-project-lite", "tokio", "xz2", @@ -293,12 +293,6 @@ dependencies = [ "serde", ] -[[package]] -name = "bitflags" -version = "0.9.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4efd02e230a02e18f92fc2735f44597385ed02ad8f831e7c1c1156ee5e1ab3a5" - [[package]] name = "bitflags" version = "1.3.2" @@ -371,12 +365,6 @@ dependencies = [ "pkg-config", ] -[[package]] -name = "casing" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8069a314fdf61ab368081307e6d351431b2a1a04822eba87834230a238cb93c4" - [[package]] name = "cc" version = "1.0.79" @@ -410,10 +398,7 @@ checksum = "ec837a71355b28f6556dbd569b37b3f363091c0bd4b2e735674521b4c5fd9bc5" dependencies = [ "android-tzdata", "iana-time-zone", - "js-sys", "num-traits", - "time", - "wasm-bindgen", "winapi", ] @@ -816,7 +801,7 @@ checksum = "be4136b2a15dd319360be1c07d9933517ccf0be8f16bf62a3bee4f0d618df427" dependencies = [ "cfg-if", "libc", - "wasi 0.11.0+wasi-snapshot-preview1", + "wasi", ] [[package]] @@ -1037,21 +1022,6 @@ dependencies = [ "pkg-config", ] -[[package]] -name = "mailbox" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "602ce3fa1224e605e1c9949ff090baf17e3c84e8d87123ee31d838a2ed5ed9f5" -dependencies = [ - "bitflags 0.9.1", - "casing", - "chrono", - "fnv", - "mime", - "nom 3.2.1", - "owning_ref", -] - [[package]] name = "mailparse" version = "0.14.0" @@ -1063,15 +1033,6 @@ dependencies = [ "quoted_printable", ] -[[package]] -name = "memchr" -version = "1.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "148fab2e51b4f1cfc66da2a7c32981d1d3c083a803978268bb11fe4b86925e7a" -dependencies = [ - "libc", -] - [[package]] name = "memchr" version = "2.5.0" @@ -1087,12 +1048,6 @@ dependencies = [ "autocfg", ] -[[package]] -name = "mime" -version = "0.3.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6877bb514081ee2a7ff5ef9de3281f14a4dd4bceac4c09388074a6b5df8a139a" - [[package]] name = "mime2ext" version = "0.1.52" @@ -1121,26 +1076,17 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "927a765cd3fc26206e66b296465fa9d3e5ab003e651c1b3c060e7956d96b19d2" dependencies = [ "libc", - "wasi 0.11.0+wasi-snapshot-preview1", + "wasi", "windows-sys", ] -[[package]] -name = "nom" -version = "3.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "05aec50c70fd288702bcd93284a8444607f3292dbdf2a30de5ea5dcdbe72287b" -dependencies = [ - "memchr 1.0.2", -] - [[package]] name = "nom" version = "7.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d273983c5a657a70a3e8f2a01329822f3b8c8172b73826411a55751e404a0a4a" dependencies = [ - "memchr 2.5.0", + "memchr", "minimal-lexical", ] @@ -1224,7 +1170,7 @@ version = "0.31.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8bda667d9f2b5051b8833f59f3bf748b28ef54f850f4fcb389a252aa383866d1" dependencies = [ - "memchr 2.5.0", + "memchr", ] [[package]] @@ -1233,15 +1179,6 @@ version = "1.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "dd8b5dd2ae5ed71462c540258bedcb51965123ad7e7ccf4b9a8cafaa4a63576d" -[[package]] -name = "owning_ref" -version = "0.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cdf84f41639e037b484f93433aa3897863b561ed65c6e59c7073d7c561710f37" -dependencies = [ - "stable_deref_trait", -] - [[package]] name = "parking_lot" version = "0.12.1" @@ -1429,7 +1366,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b2eae68fc220f7cf2532e4494aded17545fce192d59cd996e0fe7887f4ceb575" dependencies = [ "aho-corasick", - "memchr 2.5.0", + "memchr", "regex-automata", "regex-syntax", ] @@ -1441,7 +1378,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b7b6d6190b7594385f61bd3911cd1be99dfddcfc365a4160cc2ab5bff4aed294" dependencies = [ "aho-corasick", - "memchr 2.5.0", + "memchr", "regex-syntax", ] @@ -1478,9 +1415,8 @@ dependencies = [ "json_comments", "lazy_static", "log", - "mailbox", "mailparse", - "memchr 2.5.0", + "memchr", "mime2ext", "paste", "path-clean", @@ -1688,12 +1624,6 @@ dependencies = [ "winapi", ] -[[package]] -name = "stable_deref_trait" -version = "1.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" - [[package]] name = "strsim" version = "0.8.0" @@ -1813,17 +1743,6 @@ dependencies = [ "syn 2.0.28", ] -[[package]] -name = "time" -version = "0.1.45" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b797afad3f312d1c66a56d11d0316f916356d11bd158fbc6ca6389ff6bf805a" -dependencies = [ - "libc", - "wasi 0.10.0+wasi-snapshot-preview1", - "winapi", -] - [[package]] name = "tokio" version = "1.29.1" @@ -1952,7 +1871,7 @@ dependencies = [ "bytecount", "fnv", "lazy_static", - "nom 7.1.3", + "nom", "once_cell", "petgraph", ] @@ -2005,12 +1924,6 @@ version = "0.9.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f" -[[package]] -name = "wasi" -version = "0.10.0+wasi-snapshot-preview1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1a143597ca7c7793eff794def352d41792a93c481eb1042423ff7ff72ba2c31f" - [[package]] name = "wasi" version = "0.11.0+wasi-snapshot-preview1" diff --git a/Cargo.toml b/Cargo.toml index 385bddc..bdcdc6e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -37,7 +37,6 @@ glob = "0.3.1" json_comments = "0.2.1" lazy_static = "1.4.0" log = "0.4.17" -mailbox = "0.2.0" mailparse = "0.14.0" memchr = "2.5.0" mime2ext = "0.1.52"