From e1eb82fe9292f3e16b247fcb22ded688d6a8b080 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 30 Nov 2023 12:16:17 +0100 Subject: [PATCH] fix(deps): update rust crate byte-unit to v5 (#764) * fix(deps): update rust crate byte-unit to v5 * Update Cargo.toml [skip ci] --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Fabian-Lars --- Cargo.lock | 15 +++++++++++++-- plugins/log/Cargo.toml | 4 ++-- 2 files changed, 15 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index cb65fc6b..f2dc1697 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -508,10 +508,11 @@ checksum = "a3e2c3daef883ecc1b5d58c15adae93470a91d425f3532ba1695849656af3fc1" [[package]] name = "byte-unit" -version = "4.0.19" +version = "5.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "da78b32057b8fdfc352504708feeba7216dcd65a2c9ab02978cbd288d1279b6c" +checksum = "bc40af92e0f7f964b7ab1ebc81315cce78fc484802d534143321c956f58d7be3" dependencies = [ + "rust_decimal", "serde", "utf8-width", ] @@ -3708,6 +3709,16 @@ dependencies = [ "crossbeam-utils", ] +[[package]] +name = "rust_decimal" +version = "1.33.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "06676aec5ccb8fc1da723cc8c0f9a46549f21ebb8753d3915c6c41db1e7f1dc4" +dependencies = [ + "arrayvec", + "num-traits", +] + [[package]] name = "rustc-demangle" version = "0.1.23" diff --git a/plugins/log/Cargo.toml b/plugins/log/Cargo.toml index dfa72341..01e312d5 100644 --- a/plugins/log/Cargo.toml +++ b/plugins/log/Cargo.toml @@ -14,10 +14,10 @@ serde.workspace = true serde_json.workspace = true tauri.workspace = true serde_repr = "0.1" -byte-unit = "4.0" +byte-unit = "5" fern = "0.6" log = { workspace = true, features = ["kv_unstable"] } time = { version = "0.3", features = ["formatting", "local-offset"] } [features] -colored = ["fern/colored"] \ No newline at end of file +colored = ["fern/colored"]