From 757c068dd4d10efdd872e7179eb6034c63f418dc Mon Sep 17 00:00:00 2001 From: Manos Pitsidianakis Date: Sun, 4 Feb 2024 13:39:27 +0200 Subject: [PATCH] Update stderrlog, tempfile dependencies - Update stderrlog dependency to 0.6.0 - Update tempfile dependency to 3.9 Signed-off-by: Manos Pitsidianakis --- Cargo.lock | 41 ++++++++++++++++------------------------ cli/Cargo.toml | 6 +++--- core/Cargo.toml | 4 ++-- mailpot-tests/Cargo.toml | 4 ++-- rest-http/Cargo.toml | 4 ++-- web/Cargo.toml | 6 +++--- 6 files changed, 28 insertions(+), 37 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 3b0abdc..462e598 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -370,17 +370,6 @@ version = "1.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0" -[[package]] -name = "atty" -version = "0.2.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8" -dependencies = [ - "hermit-abi 0.1.19", - "libc", - "winapi 0.3.9", -] - [[package]] name = "autocfg" version = "1.1.0" @@ -1801,15 +1790,6 @@ version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8" -[[package]] -name = "hermit-abi" -version = "0.1.19" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62b467343b94ba476dcb2500d242dadbb39557df889310ac77c5d99100aaac33" -dependencies = [ - "libc", -] - [[package]] name = "hermit-abi" version = "0.3.3" @@ -2016,7 +1996,7 @@ version = "1.0.11" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "eae7b9aee968036d54dce06cebaefd919e4472e753296daccd6d344e3e2df0c2" dependencies = [ - "hermit-abi 0.3.3", + "hermit-abi", "libc", "windows-sys 0.48.0", ] @@ -2036,6 +2016,17 @@ version = "2.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8f518f335dce6725a761382244631d86cf0ccb2863413590b31338feb467f9c3" +[[package]] +name = "is-terminal" +version = "0.4.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0bad00257d07be169d870ab665980b06cdb366d792ad690bf2e76876dc503455" +dependencies = [ + "hermit-abi", + "rustix 0.38.30", + "windows-sys 0.52.0", +] + [[package]] name = "iso8601" version = "0.6.1" @@ -2725,7 +2716,7 @@ version = "1.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4161fcb6d602d4d2081af7c3a45852d875a03dd337a6bfdd6e06407b61342a43" dependencies = [ - "hermit-abi 0.3.3", + "hermit-abi", "libc", ] @@ -3788,12 +3779,12 @@ dependencies = [ [[package]] name = "stderrlog" -version = "0.5.4" +version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "69a26bbf6de627d389164afa9783739b56746c6c72c4ed16539f4ff54170327b" +checksum = "61c910772f992ab17d32d6760e167d2353f4130ed50e796752689556af07dc6b" dependencies = [ - "atty", "chrono", + "is-terminal", "log", "termcolor", "thread_local", diff --git a/cli/Cargo.toml b/cli/Cargo.toml index c87d354..00f6248 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -23,17 +23,17 @@ log = "0.4" mailpot = { version = "^0.1", path = "../core" } serde = { version = "^1", features = ["derive", ] } serde_json = "^1" -stderrlog = "^0.5" +stderrlog = { version = "^0.6" } ureq = { version = "2.6", default-features = false } [dev-dependencies] assert_cmd = "2" mailpot-tests = { version = "^0.1", path = "../mailpot-tests" } predicates = "3" -tempfile = "3.3" +tempfile = { version = "3.9" } [build-dependencies] clap = { version = "^4.2", default-features = false, features = ["std", "derive", "cargo", "unicode", "wrap_help", "help", "usage", "error-context", "suggestions"] } clap_mangen = "0.2.10" mailpot = { version = "^0.1", path = "../core" } -stderrlog = "^0.5" +stderrlog = { version = "^0.6" } diff --git a/core/Cargo.toml b/core/Cargo.toml index 1f633e8..7e995aa 100644 --- a/core/Cargo.toml +++ b/core/Cargo.toml @@ -31,5 +31,5 @@ xdg = "2.4.1" [dev-dependencies] mailpot-tests = { version = "^0.1", path = "../mailpot-tests" } reqwest = { version = "0.11", default-features = false, features = ["json", "blocking"] } -stderrlog = "^0.5" -tempfile = "3.3" +stderrlog = { version = "^0.6" } +tempfile = { version = "3.9" } diff --git a/mailpot-tests/Cargo.toml b/mailpot-tests/Cargo.toml index 5eec2d9..1dd5622 100644 --- a/mailpot-tests/Cargo.toml +++ b/mailpot-tests/Cargo.toml @@ -15,7 +15,7 @@ log = "0.4" mailin-embedded = { version = "0.7", features = ["rtls"] } mailpot = { version = "^0.1", path = "../core" } predicates = "3" -stderrlog = "^0.5" -tempfile = "3.3" +stderrlog = { version = "^0.6" } +tempfile = { version = "3.9" } [dev-dependencies] diff --git a/rest-http/Cargo.toml b/rest-http/Cargo.toml index e79f615..b643f59 100644 --- a/rest-http/Cargo.toml +++ b/rest-http/Cargo.toml @@ -29,7 +29,7 @@ mailpot = { version = "^0.1", path = "../core" } mailpot-web = { version = "^0.1", path = "../web" } serde = { version = "1", features = ["derive"] } serde_json = "1" -stderrlog = "^0.5" +stderrlog = { version = "^0.6" } thiserror = "1" tokio = { version = "1", features = ["full"] } tower-http = { version = "0.4", features = [ @@ -45,5 +45,5 @@ assert-json-diff = "2" hyper = { version = "0.14" } mailpot-tests = { version = "^0.1", path = "../mailpot-tests" } reqwest = { version = "0.11", features = ["json"] } -tempfile = "3.3" +tempfile = { version = "3.9" } tower = { version = "^0.4" } diff --git a/web/Cargo.toml b/web/Cargo.toml index 8cf5eec..db0ba70 100644 --- a/web/Cargo.toml +++ b/web/Cargo.toml @@ -40,8 +40,8 @@ rand = { version = "^0.8", features = ["min_const_gen"] } serde = { version = "^1", features = ["derive", ] } serde_json = "^1" ssh-key = { version = "0.6.2", optional = true, features = ["crypto"] } -stderrlog = "^0.5" -tempfile = { version = "^3.5" } +stderrlog = { version = "^0.6" } +tempfile = { version = "3.9" } tokio = { version = "1", features = ["full"] } tower-http = { version = "^0.3" } tower-service = { version = "^0.3" } @@ -51,7 +51,7 @@ zstd = { version = "0.12", default-features = false } hyper = { version = "0.14" } mailpot-tests = { version = "^0.1", path = "../mailpot-tests" } serde_urlencoded = { version = "^0.7" } -tempfile = { version = "3.3" } +tempfile = { version = "3.9" } tower = { version = "^0.4" } [build-dependencies]