➖ Sustituye parking_lot por std::sync
PageTop ya no lo necesita como dependencia directa: `std::sync` cubre los bloqueos del contexto, los temas y las trazas. No se detecta pérdida de rendimiento en ningún caso. Usa `unwrap()` en los bloqueos, también en las extensiones, porque sus secciones exclusivas no pueden provocar panic. Sólo pagetop-cron ignora el envenenamiento, porque calcula fechas con el bloqueo tomado.
This commit is contained in:
parent
a6d15ab211
commit
698b917fb1
11 changed files with 31 additions and 56 deletions
|
|
@ -46,7 +46,6 @@ itoa = "1.0"
|
|||
lettre = { version = "0.11", default-features = false }
|
||||
mime_guess = "2.0"
|
||||
minify-js = "0.6"
|
||||
parking_lot = "0.12"
|
||||
pastey = "0.2"
|
||||
path-slash = "0.2"
|
||||
proc-macro2 = "1.0"
|
||||
|
|
@ -131,7 +130,6 @@ fluent-templates.workspace = true
|
|||
getter-methods.workspace = true
|
||||
indexmap.workspace = true
|
||||
itoa.workspace = true
|
||||
parking_lot.workspace = true
|
||||
pagetop-macros.workspace = true
|
||||
pagetop-minimal.workspace = true
|
||||
pagetop-statics.workspace = true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue