Update dependencies
This commit is contained in:
parent
d85aa29710
commit
b3a6d14bc6
2 changed files with 204 additions and 206 deletions
404
Cargo.lock
generated
404
Cargo.lock
generated
File diff suppressed because it is too large
Load diff
|
|
@ -95,10 +95,8 @@ const MAX_SEARCH_RESULTS: usize = 200;
|
|||
//TODO: configurable thumbnail size?
|
||||
const THUMBNAIL_SIZE: u32 = (ICON_SIZE_GRID as u32) * (ICON_SCALE_MAX as u32);
|
||||
|
||||
pub static THUMB_SEMAPHORE: LazyLock<tokio::sync::Semaphore> = LazyLock::new(|| {
|
||||
tokio::sync::Semaphore::const_new(num_cpus::get())
|
||||
});
|
||||
|
||||
pub static THUMB_SEMAPHORE: LazyLock<tokio::sync::Semaphore> =
|
||||
LazyLock::new(|| tokio::sync::Semaphore::const_new(num_cpus::get()));
|
||||
|
||||
pub(crate) static SORT_OPTION_FALLBACK: LazyLock<HashMap<String, (HeadingOptions, bool)>> =
|
||||
LazyLock::new(|| {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue