zed/crates/time_format/Cargo.toml
scuzqy 6a4dfd46ba
time_format: Add Windows implementation (#50227)
<img width="827" height="643" alt="图片"
src="https://github.com/user-attachments/assets/de6279fa-c224-460d-8210-3eada416aca5"
/>


Release Notes:

- Date and time formatting on Windows now respects the system time
formatting preferences.

---------

Co-authored-by: John Tur <john-tur@outlook.com>
2026-02-28 21:47:30 -05:00

24 lines
468 B
TOML

[package]
name = "time_format"
version = "0.1.0"
edition.workspace = true
publish.workspace = true
license = "GPL-3.0-or-later"
[lints]
workspace = true
[lib]
path = "src/time_format.rs"
doctest = false
[dependencies]
sys-locale.workspace = true
time.workspace = true
[target.'cfg(target_os = "macos")'.dependencies]
core-foundation.workspace = true
core-foundation-sys.workspace = true
[target.'cfg(target_os = "windows")'.dependencies]
windows.workspace = true