From 80db7e831ee77e371410f07fc18c95cccd47c325 Mon Sep 17 00:00:00 2001 From: Artturin Date: Thu, 10 Nov 2022 08:48:30 +0200 Subject: [PATCH] run 'cargo upgrade --incompatible --package tracing-subscriber' and add necessary feature for EnvFilter --- Cargo.lock | 38 ++++++++++++++++++++++---------------- ofborg/Cargo.toml | 2 +- 2 files changed, 23 insertions(+), 17 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 7106f1c..aba9b5d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -81,15 +81,6 @@ dependencies = [ "libc", ] -[[package]] -name = "ansi_term" -version = "0.12.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d52a9bb7ec0cf484c551830a7ce27bd20d67eac647e1befb56b0be4ee39a55d2" -dependencies = [ - "winapi", -] - [[package]] name = "antidote" version = "1.0.0" @@ -849,9 +840,9 @@ dependencies = [ [[package]] name = "matchers" -version = "0.0.1" +version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f099785f7595cc4b4553a174ce30dd7589ef93391ff414dbb67f62392b9e0ce1" +checksum = "8263075bb86c5a1b1427b5ae862e8889656f126e9f77c484496e8b47cf5c5558" dependencies = [ "regex-automata", ] @@ -967,6 +958,16 @@ dependencies = [ "winapi", ] +[[package]] +name = "nu-ansi-term" +version = "0.46.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "77a8165726e8236064dbb45459242600304b42a5ea24ee2948e18e023bf7ba84" +dependencies = [ + "overload", + "winapi", +] + [[package]] name = "num-integer" version = "0.1.45" @@ -1092,6 +1093,12 @@ dependencies = [ "vcpkg", ] +[[package]] +name = "overload" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b15813163c1d831bf4a13c3610c05c0d03b39feb07f7e09fa234dac9b15aaf39" + [[package]] name = "parking" version = "2.0.0" @@ -1596,14 +1603,13 @@ dependencies = [ [[package]] name = "tracing-subscriber" -version = "0.2.25" +version = "0.3.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0e0d2eaa99c3c2e41547cfa109e910a68ea03823cccad4a0525dcbc9b01e8c71" +checksum = "a6176eae26dd70d0c919749377897b54a9276bd7061339665dd68777926b5a70" dependencies = [ - "ansi_term", - "chrono", - "lazy_static", "matchers", + "nu-ansi-term", + "once_cell", "regex", "serde", "serde_json", diff --git a/ofborg/Cargo.toml b/ofborg/Cargo.toml index 18b4e65..98599cb 100644 --- a/ofborg/Cargo.toml +++ b/ofborg/Cargo.toml @@ -29,5 +29,5 @@ serde_json = "1.0" sys-info = "0.9.1" tempfile = "3.3.0" tracing = "0.1.37" -tracing-subscriber = { version = "0.2.25", features = ["json"] } +tracing-subscriber = { version = "0.3.16", features = ["json", "env-filter"] } uuid = { version = "0.4", features = ["v4"] }