From ae685b5ea5a2201d474a1f328233eddc9d74f678 Mon Sep 17 00:00:00 2001 From: Folke Behrens Date: Fri, 27 Sep 2024 10:04:36 +0200 Subject: [PATCH] update deps --- Cargo.toml | 1 + microchassis/Cargo.toml | 10 +++++----- microchassis/src/lib.rs | 1 + microchassis/src/oompanic.rs | 2 +- 4 files changed, 8 insertions(+), 6 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 76f08e4..7fdfb8f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,2 +1,3 @@ [workspace] +resolver = "2" members = ["microchassis"] diff --git a/microchassis/Cargo.toml b/microchassis/Cargo.toml index 1008fe3..ae55562 100644 --- a/microchassis/Cargo.toml +++ b/microchassis/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "microchassis" description = "A chassis to increase observability of services and tools" -version = "0.0.5" +version = "0.0.6" edition = "2021" authors = ["Folke B."] repository = "https://github.com/cloneable/microchassis" @@ -11,14 +11,14 @@ rust-version = "1.65" [dependencies] backtrace = { version = "0.3", optional = true } -http = "0.2" +http = "1" lazy_static = "1" libc = { version = "0.2", optional = true } tempfile = "3" thiserror = "1" -tikv-jemalloc-ctl = "0.5" -tikv-jemalloc-sys = "0.5" -tikv-jemallocator = { version = "0.5", features = ["profiling", "stats"] } +tikv-jemalloc-ctl = "0.6" +tikv-jemalloc-sys = "0.6" +tikv-jemallocator = { version = "0.6", features = ["profiling", "stats"] } tracing = { version = "0.1" } actix-web = { version = "4", optional = true } futures-util = { version = "0.3", optional = true } diff --git a/microchassis/src/lib.rs b/microchassis/src/lib.rs index 65451c9..5908735 100644 --- a/microchassis/src/lib.rs +++ b/microchassis/src/lib.rs @@ -29,6 +29,7 @@ clippy::cargo_common_metadata, // TODO: revisit clippy::missing_const_for_fn, clippy::missing_errors_doc, + clippy::missing_panics_doc, clippy::module_name_repetitions, clippy::unnecessary_wraps, clippy::use_self, diff --git a/microchassis/src/oompanic.rs b/microchassis/src/oompanic.rs index 3d006d9..e4ad3b8 100644 --- a/microchassis/src/oompanic.rs +++ b/microchassis/src/oompanic.rs @@ -22,7 +22,7 @@ use core::{ pub struct Allocator(pub T); thread_local! { - static PANICKING: Cell = Cell::new(false); + static PANICKING: Cell = const { Cell::new(false) }; } #[allow(clippy::panic)]