From 67401e8fafdab3fd9bbd1e4428a012508dc69467 Mon Sep 17 00:00:00 2001 From: Pierre HUBERT Date: Wed, 22 Jan 2025 19:43:32 +0100 Subject: [PATCH 1/3] Fix cargo clippy issue --- central_backend/src/logs/logs_manager.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/central_backend/src/logs/logs_manager.rs b/central_backend/src/logs/logs_manager.rs index fb0d1f8..0164f83 100644 --- a/central_backend/src/logs/logs_manager.rs +++ b/central_backend/src/logs/logs_manager.rs @@ -35,7 +35,7 @@ pub fn save_log( .as_bytes(), )?; file.flush()?; - file.unlock()?; + fs4::fs_std::FileExt::unlock(&file)?; Ok(()) } From 0fcb902e9e8bde0b0747ee75c67e766916f3d7fe Mon Sep 17 00:00:00 2001 From: Pierre HUBERT Date: Tue, 11 Mar 2025 14:09:22 +0000 Subject: [PATCH 2/3] Update Rust crate uuid to v1.11.1 (#149) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [uuid](https://github.com/uuid-rs/uuid) | dependencies | patch | `1.11.0` -> `1.11.1` | --- ### Release Notes
uuid-rs/uuid (uuid) ### [`v1.11.1`](https://github.com/uuid-rs/uuid/releases/tag/1.11.1) [Compare Source](https://github.com/uuid-rs/uuid/compare/1.11.0...1.11.1) #### What's Changed - Finish cut off docs by [@​KodrAus](https://github.com/KodrAus) in https://github.com/uuid-rs/uuid/pull/777 - Fix links in CONTRIBUTING.md by [@​jacobggman](https://github.com/jacobggman) in https://github.com/uuid-rs/uuid/pull/778 - Update rust toolchain before building by [@​KodrAus](https://github.com/KodrAus) in https://github.com/uuid-rs/uuid/pull/781 - Prepare for 1.11.1 release by [@​KodrAus](https://github.com/KodrAus) in https://github.com/uuid-rs/uuid/pull/782 #### New Contributors - [@​jacobggman](https://github.com/jacobggman) made their first contribution in https://github.com/uuid-rs/uuid/pull/778 **Full Changelog**: https://github.com/uuid-rs/uuid/compare/1.11.0...1.11.1
--- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). Reviewed-on: https://gitea.communiquons.org/pierre/SolarEnergy/pulls/149 --- central_backend/Cargo.lock | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/central_backend/Cargo.lock b/central_backend/Cargo.lock index a5a2c91..b8fa1b3 100644 --- a/central_backend/Cargo.lock +++ b/central_backend/Cargo.lock @@ -2926,9 +2926,9 @@ checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821" [[package]] name = "uuid" -version = "1.11.0" +version = "1.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f8c5f0a0af699448548ad1a2fbf920fb4bee257eae39953ba95cb84891a0446a" +checksum = "b913a3b5fe84142e269d63cc62b64319ccaf89b748fc31fe025177f767a756c4" dependencies = [ "getrandom", "serde", From 5ed8c42b9918ecfe4a537692e0d5c40aa5d4a4e4 Mon Sep 17 00:00:00 2001 From: Pierre HUBERT Date: Thu, 9 Jan 2025 00:23:24 +0000 Subject: [PATCH 3/3] Update Rust crate tokio to v1.43.0 --- central_backend/Cargo.lock | 8 ++++---- central_backend/Cargo.toml | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/central_backend/Cargo.lock b/central_backend/Cargo.lock index b8fa1b3..a49477d 100644 --- a/central_backend/Cargo.lock +++ b/central_backend/Cargo.lock @@ -2711,9 +2711,9 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" [[package]] name = "tokio" -version = "1.42.0" +version = "1.43.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5cec9b21b0450273377fc97bd4c33a8acffc8c996c987a7c5b319a0083707551" +checksum = "3d61fa4ffa3de412bfea335c6ecff681de2b609ba3c77ef3e00e521813a9ed9e" dependencies = [ "backtrace", "bytes", @@ -2729,9 +2729,9 @@ dependencies = [ [[package]] name = "tokio-macros" -version = "2.4.0" +version = "2.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "693d596312e88961bc67d7f1f97af8a70227d9f90c31bba5806eec004978d752" +checksum = "6e06d43f1345a3bcd39f6a56dbb7dcab2ba47e68e8ac134855e7e2bdbaf8cab8" dependencies = [ "proc-macro2", "quote", diff --git a/central_backend/Cargo.toml b/central_backend/Cargo.toml index f5bf514..9710eb1 100644 --- a/central_backend/Cargo.toml +++ b/central_backend/Cargo.toml @@ -31,7 +31,7 @@ actix-remote-ip = "0.1.0" futures-util = "0.3.31" uuid = { version = "1.11.0", features = ["v4", "serde"] } semver = { version = "1.0.23", features = ["serde"] } -lazy-regex = "3.4.1" +lazy-regex = "3.3.0" tokio = { version = "1.40.0", features = ["full"] } tokio_schedule = "0.3.2" mime_guess = "2.0.5"