Drop once_cell dependency
It's now part of the standard library :D
This commit is contained in:
parent
866176dab6
commit
e750f81b11
4 changed files with 3 additions and 5 deletions
1
Cargo.lock
generated
1
Cargo.lock
generated
|
|
@ -344,7 +344,6 @@ dependencies = [
|
|||
"jiff",
|
||||
"linkify",
|
||||
"log",
|
||||
"once_cell",
|
||||
"open",
|
||||
"parking_lot",
|
||||
"rusqlite",
|
||||
|
|
|
|||
|
|
@ -17,7 +17,6 @@ edit = "0.1.5"
|
|||
jiff = "0.2.1"
|
||||
linkify = "0.10.0"
|
||||
log = { version = "0.4.25", features = ["std"] }
|
||||
once_cell = "1.20.2"
|
||||
open = "5.3.2"
|
||||
parking_lot = "0.12.3"
|
||||
proc-macro2 = "1.0.93"
|
||||
|
|
|
|||
|
|
@ -17,7 +17,6 @@ euphoxide.workspace = true
|
|||
jiff.workspace = true
|
||||
linkify.workspace = true
|
||||
log.workspace = true
|
||||
once_cell.workspace = true
|
||||
open.workspace = true
|
||||
parking_lot.workspace = true
|
||||
rusqlite.workspace = true
|
||||
|
|
|
|||
|
|
@ -1,9 +1,10 @@
|
|||
use std::sync::LazyLock;
|
||||
|
||||
use crossterm::style::{Color, Stylize};
|
||||
use euphoxide::Emoji;
|
||||
use once_cell::sync::Lazy;
|
||||
use toss::{Style, Styled};
|
||||
|
||||
pub static EMOJI: Lazy<Emoji> = Lazy::new(Emoji::load);
|
||||
pub static EMOJI: LazyLock<Emoji> = LazyLock::new(Emoji::load);
|
||||
|
||||
/// Convert HSL to RGB following [this approach from wikipedia][1].
|
||||
///
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue