chore: move time to dev-dependencies (#1835)

This commit is contained in:
Jagoda Estera Ślązak 2025-05-10 17:11:00 +02:00 committed by GitHub
parent 2dd1977c59
commit 1874b9dd55
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -76,8 +76,8 @@ all-widgets = ["widget-calendar"]
#! Widgets that add dependencies are gated behind feature flags to prevent unused transitive
#! dependencies. The available features are:
## enables the [`calendar`](widgets::calendar) widget module and adds a dependency on [`time`].
widget-calendar = ["ratatui-widgets/calendar", "dep:time"]
## enables the [`calendar`](widgets::calendar) widget module.
widget-calendar = ["ratatui-widgets/calendar"]
#! The following optional features are only available for some backends:
@ -124,7 +124,6 @@ ratatui-macros = { workspace = true, optional = true }
ratatui-termwiz = { workspace = true, optional = true }
ratatui-widgets = { workspace = true }
serde = { workspace = true, optional = true }
time = { version = "0.3.39", optional = true, features = ["local-offset"] }
[target.'cfg(not(windows))'.dependencies]
ratatui-termion = { workspace = true, optional = true }
@ -142,6 +141,7 @@ rand = "0.9.1"
rand_chacha = "0.9.0"
rstest = "0.25.0"
serde_json.workspace = true
time = { version = "0.3.39", features = ["local-offset"] }
tokio = { version = "1.44.2", features = ["rt", "macros", "time", "rt-multi-thread"] }
tracing = "0.1.40"
tracing-appender = "0.2.3"