Skip to content

Commit ae685b5

Browse files
committed
update deps
1 parent 495fe62 commit ae685b5

4 files changed

Lines changed: 8 additions & 6 deletions

File tree

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
[workspace]
2+
resolver = "2"
23
members = ["microchassis"]

microchassis/Cargo.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "microchassis"
33
description = "A chassis to increase observability of services and tools"
4-
version = "0.0.5"
4+
version = "0.0.6"
55
edition = "2021"
66
authors = ["Folke B."]
77
repository = "https://github.com/cloneable/microchassis"
@@ -11,14 +11,14 @@ rust-version = "1.65"
1111

1212
[dependencies]
1313
backtrace = { version = "0.3", optional = true }
14-
http = "0.2"
14+
http = "1"
1515
lazy_static = "1"
1616
libc = { version = "0.2", optional = true }
1717
tempfile = "3"
1818
thiserror = "1"
19-
tikv-jemalloc-ctl = "0.5"
20-
tikv-jemalloc-sys = "0.5"
21-
tikv-jemallocator = { version = "0.5", features = ["profiling", "stats"] }
19+
tikv-jemalloc-ctl = "0.6"
20+
tikv-jemalloc-sys = "0.6"
21+
tikv-jemallocator = { version = "0.6", features = ["profiling", "stats"] }
2222
tracing = { version = "0.1" }
2323
actix-web = { version = "4", optional = true }
2424
futures-util = { version = "0.3", optional = true }

microchassis/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
clippy::cargo_common_metadata, // TODO: revisit
3030
clippy::missing_const_for_fn,
3131
clippy::missing_errors_doc,
32+
clippy::missing_panics_doc,
3233
clippy::module_name_repetitions,
3334
clippy::unnecessary_wraps,
3435
clippy::use_self,

microchassis/src/oompanic.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ use core::{
2222
pub struct Allocator<T: GlobalAlloc>(pub T);
2323

2424
thread_local! {
25-
static PANICKING: Cell<bool> = Cell::new(false);
25+
static PANICKING: Cell<bool> = const { Cell::new(false) };
2626
}
2727

2828
#[allow(clippy::panic)]

0 commit comments

Comments
 (0)