From 4ba226a7f3af006fa1feea53b9553a0de415cfbd Mon Sep 17 00:00:00 2001 From: simonsan <14062932+simonsan@users.noreply.github.com> Date: Thu, 24 Oct 2024 18:21:05 +0200 Subject: [PATCH] chore(deps): update abscissa framework (#1330) --- Cargo.lock | 42 +++++++++++------------------------------- Cargo.toml | 4 ++-- src/application.rs | 2 -- 3 files changed, 13 insertions(+), 35 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 0417458..beb46e4 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4,9 +4,9 @@ version = 3 [[package]] name = "abscissa_core" -version = "0.7.0" +version = "0.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8346a52bf3fb445d5949d144c37360ad2f1d7950cfcc6d4e9e4999b1cd1bd42a" +checksum = "de5df09bc18cb069dec8524aff811cbe9d7bf5f4b78ef739ef125a37b9d3f044" dependencies = [ "abscissa_derive", "arc-swap", @@ -21,18 +21,18 @@ dependencies = [ "semver", "serde", "termcolor", - "toml 0.5.11", + "toml", "tracing", - "tracing-log 0.1.4", + "tracing-log", "tracing-subscriber", "wait-timeout", ] [[package]] name = "abscissa_derive" -version = "0.7.0" +version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "55bfb86e57d13c06e482c570826ddcddcc8f07fab916760e8911141d4fda8b62" +checksum = "e04c7df69b2c6b9b6dba8422d1295e58ac4bcfc7c9e7e7d4c55a38aaff2ad92a" dependencies = [ "ident_case", "proc-macro2", @@ -2014,7 +2014,7 @@ dependencies = [ "os_info", "serde", "serde_derive", - "toml 0.8.19", + "toml", "uuid", ] @@ -3877,7 +3877,7 @@ dependencies = [ "tempfile", "thiserror", "tokio", - "toml 0.8.19", + "toml", "tui-textarea", "warp", ] @@ -4160,9 +4160,9 @@ dependencies = [ [[package]] name = "secrecy" -version = "0.8.0" +version = "0.10.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9bd1c54ea06cfd2f6b63219704de0b9b4f72dcc2b8fdef820be6cd799780e91e" +checksum = "e891af845473308773346dc847b2c23ee78fe442e0472ac50e22a18a93d3ae5a" dependencies = [ "serde", "zeroize", @@ -4911,15 +4911,6 @@ dependencies = [ "tokio", ] -[[package]] -name = "toml" -version = "0.5.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f4f7f0dd8d50a853a531c426359045b1998f04219d88799810762cd4ad314234" -dependencies = [ - "serde", -] - [[package]] name = "toml" version = "0.8.19" @@ -4993,17 +4984,6 @@ dependencies = [ "valuable", ] -[[package]] -name = "tracing-log" -version = "0.1.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f751112709b4e791d8ce53e32c4ed2d353565a795ce84da2285393f41557bdf2" -dependencies = [ - "log", - "once_cell", - "tracing-core", -] - [[package]] name = "tracing-log" version = "0.2.0" @@ -5030,7 +5010,7 @@ dependencies = [ "thread_local", "tracing", "tracing-core", - "tracing-log 0.2.0", + "tracing-log", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index a97dbe0..de7d826 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -45,7 +45,7 @@ all-features = true rustdoc-args = ["--document-private-items", "--generate-link-to-definition"] [dependencies] -abscissa_core = { version = "0.7.0", default-features = false, features = ["application"] } +abscissa_core = { version = "0.8.1", default-features = false, features = ["application"] } rustic_backend = { version = "0.4.1", features = ["cli"] } rustic_core = { version = "0.5.3", features = ["cli"] } @@ -108,7 +108,7 @@ self_update = { version = "0.39.0", default-features = false, optional = true, f toml = "0.8" [dev-dependencies] -abscissa_core = { version = "0.7.0", default-features = false, features = ["testing"] } +abscissa_core = { version = "0.8.1", default-features = false, features = ["testing"] } assert_cmd = "2.0.16" dircmp = "0.2" insta = { version = "1.40.0", features = ["ron"] } diff --git a/src/application.rs b/src/application.rs index 40c117d..028783c 100644 --- a/src/application.rs +++ b/src/application.rs @@ -121,9 +121,7 @@ impl Application for RusticApp { }; self.shutdown_with_exitcode(shutdown, exit_code) } -} -impl RusticApp { /// Shut down this application gracefully, exiting with given exit code. fn shutdown_with_exitcode(&self, shutdown: Shutdown, exit_code: i32) -> ! { let hooks = &RUSTIC_APP.config().global.hooks;