misc: remove once_cell; superseded by std::*

We now have types in the Rust standard library.
Dropping the dependency.

I found this by using the `clippy::pedantic` group.

Signed-off-by: Philipp Schuster <philipp.schuster@cyberus-technology.de>
On-behalf-of: SAP philipp.schuster@sap.com
This commit is contained in:
Philipp Schuster
2025-06-20 11:49:39 +02:00
committed by Rob Bradford
parent 100c6d8142
commit 4182ef91e0
16 changed files with 16 additions and 35 deletions
-1
View File
@@ -7,7 +7,6 @@ version = "0.1.0"
[dependencies]
libc = "0.2.167"
log = "0.4.22"
once_cell = "1.20.2"
serde = { version = "1.0.208", features = ["derive", "rc"] }
serde_json = { workspace = true }
+1 -1
View File
@@ -5,6 +5,7 @@
#![allow(static_mut_refs)]
use std::cell::OnceCell;
use std::collections::HashMap;
use std::fs::File;
use std::io::Write;
@@ -12,7 +13,6 @@ use std::sync::atomic::{AtomicU64, Ordering};
use std::sync::{Arc, Mutex};
use std::time::{Duration, Instant};
use once_cell::unsync::OnceCell;
use serde::Serialize;
#[derive(Debug)]