From 53c08e46b0ffdd028a6316e4b2edf1df81feb390 Mon Sep 17 00:00:00 2001 From: Erick Tryzelaar Date: Thu, 9 Nov 2023 21:44:08 -0800 Subject: [PATCH] Update once_cell to remove "unstable" feature (#185) According to [once_cell 1.18.0](https://github.com/matklad/once_cell/blob/v1.18.0/Cargo.toml#L55), the "unstable" feature is no longer used. This patch updates the crate and removes the feature so we do not accidentally enable any other unstable `once_cell` features in the future. --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 5a42238..e996771 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -86,7 +86,7 @@ getrandom = { version = "0.2.7", optional = true } zerocopy = { version = "0.7.14", default-features = false, features = ["simd"] } [target.'cfg(not(all(target_arch = "arm", target_os = "none")))'.dependencies] -once_cell = { version = "1.13.1", default-features = false, features = ["unstable", "alloc"] } +once_cell = { version = "1.18.0", default-features = false, features = ["alloc"] } [dev-dependencies] no-panic = "0.1.10"