mirror of
https://github.com/cjfranko/NTP-Timeturner.git
synced 2025-11-08 18:32:02 +00:00
This commit adds comprehensive test coverage for the PTP and LTC timecode synchronization logic, including: - PTP client initialization tests - PTP disabled state handling - LTC to PTP time conversion - Frame timing precision - Offset tracking and jitter calculation - Interface change handling The tests validate key aspects of the synchronization process, ensuring accurate timecode conversion, offset tracking, and client behavior under different configurations. Co-authored-by: aider (openrouter/anthropic/claude-sonnet-4) <aider@aider.chat>
27 lines
506 B
TOML
27 lines
506 B
TOML
[package]
|
|
name = "ntp_timeturner"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
[dependencies]
|
|
serialport = "4.2"
|
|
chrono = "0.4"
|
|
crossterm = "0.29"
|
|
regex = "1.11"
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde_json = "1.0"
|
|
notify = "8.1.0"
|
|
statime = "0.4.0"
|
|
statime-linux = "0.4.0"
|
|
tokio = { version = "1", features = ["full"] }
|
|
log = "0.4"
|
|
env_logger = "0.11"
|
|
rand = "0.8"
|
|
socket2 = "0.4"
|
|
|
|
[dev-dependencies]
|
|
tokio-test = "0.4"
|
|
|
|
[lib]
|
|
name = "ntp_timeturner"
|
|
path = "src/lib.rs"
|