mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-12 13:24:19 +00:00
6a2c712990
We occasionally see dates in the future appearing in our telemetry. One hypothesis is that this is caused by a clock change while Zed is running causing date math based on chrono to be incorrect. Instant *should* be a more stable source of relative timestamps. Release Notes: - N/A
21 lines
340 B
TOML
21 lines
340 B
TOML
[package]
|
|
name = "clock"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
publish = false
|
|
license = "GPL-3.0-or-later"
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[lib]
|
|
path = "src/clock.rs"
|
|
doctest = false
|
|
|
|
[features]
|
|
test-support = ["dep:parking_lot"]
|
|
|
|
[dependencies]
|
|
parking_lot = { workspace = true, optional = true }
|
|
serde.workspace = true
|
|
smallvec.workspace = true
|