From 1cedd1fd7e9f69e91c42b4522e68abd5e670af05 Mon Sep 17 00:00:00 2001 From: Robbert van der Helm Date: Mon, 24 Apr 2023 23:57:52 +0200 Subject: [PATCH] Upgrade NIH-log to 0.3.1 This fixes the local time offsets on Linux. --- CHANGELOG.md | 3 +++ Cargo.lock | 4 ++-- Cargo.toml | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 712f4f38..4fa18bd4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -26,6 +26,9 @@ state is to list breaking changes. ### Fixed +- The logger now uses the correct local time offset on Linux instead of + defaulting to UTC due to some implementation details of the underlying `time` + crate. - The buffer changes from March 31st broke the sample accurate automation feature. This has now been fixed. diff --git a/Cargo.lock b/Cargo.lock index d94a2fb4..5f90920d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2508,9 +2508,9 @@ dependencies = [ [[package]] name = "nih_log" -version = "0.3.0" +version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f1d8a01d9663de15dbec9eaa9b7c261588e615ec204797b63039a2b0f30680fd" +checksum = "d0cdb52ef79af48ae110401c883bdb9c15e0306a99ab6ecf18bc52068b668e54" dependencies = [ "atty", "log", diff --git a/Cargo.toml b/Cargo.toml index 904da1a3..63c0252d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -87,7 +87,7 @@ crossbeam = "0.8" lazy_static = "1.4" log = { version = "0.4", features = ["std", "release_max_level_info"] } midi-consts = "0.1" -nih_log = "0.3.0" +nih_log = "0.3.1" parking_lot = "0.12" raw-window-handle = "0.4" serde = { version = "1.0", features = ["derive"] }