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:
@@ -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 }
|
||||
|
||||
Reference in New Issue
Block a user