1
0
mirror of https://github.com/emilk/egui.git synced 2026-09-03 15:20:05 -04:00

Replace chrono with jiff (#8008)

`jiff` is more modern, and seem to be where the ecosystem is heading.
This commit is contained in:
Emil Ernerfeldt
2026-03-24 13:58:21 +01:00
committed by GitHub
parent 5d5f0dedcc
commit a12d18d9bd
12 changed files with 88 additions and 155 deletions

View File

@@ -34,7 +34,7 @@ default = ["dep:mime_guess2"]
all_loaders = ["file", "http", "image", "svg", "gif", "webp"]
## Enable [`DatePickerButton`] widget.
datepicker = ["chrono"]
datepicker = ["jiff"]
## Add support for loading images from `file://` URIs.
file = ["dep:mime_guess2"]
@@ -83,7 +83,7 @@ profiling.workspace = true
serde = { workspace = true, optional = true }
# Date operations needed for datepicker widget
chrono = { workspace = true, optional = true, features = ["clock", "js-sys", "std", "wasmbind"] }
jiff = { workspace = true, optional = true, features = ["std", "tz-system", "js"] }
## Enable this when generating docs.
document-features = { workspace = true, optional = true }