ntp-timer 0.1.0

A lightweight NTP time synchronization library for Rust applications. Provides in-process cached global time with background sync and clock-jump detection.
Documentation
[package]
name = "ntp-timer"
version = "0.1.0"
edition = "2021"
authors = ["liuhaoduoduo <liuhaoduoduo@163.com>"]
description = "A lightweight NTP time synchronization library for Rust applications. Provides in-process cached global time with background sync and clock-jump detection."
license = "MIT"
repository = "https://github.com/liuhaoduoduo/ntp-timer"
homepage = "https://github.com/liuhaoduoduo/ntp-timer"
documentation = "https://docs.rs/ntp-timer"
readme = "README.md"
keywords = ["ntp", "time", "timer", "sync", "network-time"]
categories = ["date-and-time", "network-programming"]

[dependencies]
tokio = { version = "1", features = ["full"] }
lazy_static = "1.4"
anyhow = "1.0"
thiserror = "1.0"
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter", "fmt"] }
serde = { version = "1", features = ["derive"] }

[dev-dependencies]
tokio-test = "0.4"

[package.metadata.docs.rs]
all-features = true