rtimed 0.14.0

High-performance NTP/PTP time synchronization daemon (NTPv4, NTS, PTP). Installs as the `rtime` binary.
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.88"
name = "rtimed"
version = "0.14.0"
authors = ["Zeros And Ones LLC"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "High-performance NTP/PTP time synchronization daemon (NTPv4, NTS, PTP). Installs as the `rtime` binary."
homepage = "https://github.com/ZerosAndOnesLLC/rTime"
documentation = "https://docs.rs/rtimed"
readme = "README.md"
keywords = [
    "ntp",
    "ptp",
    "nts",
    "ntpd",
    "time",
]
categories = [
    "command-line-utilities",
    "network-programming",
    "date-and-time",
]
license = "MIT"
repository = "https://github.com/ZerosAndOnesLLC/rTime"
resolver = "2"

[features]
clock-discipline = []
default = [
    "ntp",
    "ptp",
    "nts",
    "clock-discipline",
    "metrics",
]
gps = []
hardware-timestamping = []
metrics = []
ntp = []
nts = []
pps = []
ptp = []

[[bin]]
name = "rtime"
path = "src/main.rs"

[[test]]
name = "config_loading"
path = "tests/config_loading.rs"

[[test]]
name = "marzullo_integration"
path = "tests/marzullo_integration.rs"

[[test]]
name = "ntp_roundtrip"
path = "tests/ntp_roundtrip.rs"

[[test]]
name = "nts_handshake"
path = "tests/nts_handshake.rs"

[[test]]
name = "ptp_sync"
path = "tests/ptp_sync.rs"

[dependencies.anyhow]
version = "1"

[dependencies.axum]
version = "0.8"

[dependencies.clap]
version = "4"
features = ["derive"]

[dependencies.rand]
version = "0.10"

[dependencies.rtime-clock]
version = "0.14.0"

[dependencies.rtime-core]
version = "0.14.0"

[dependencies.rtime-metrics]
version = "0.14.0"

[dependencies.rtime-net]
version = "0.14.0"

[dependencies.rtime-ntp]
version = "0.14.0"

[dependencies.rtime-nts]
version = "0.14.0"

[dependencies.rtime-ptp]
version = "0.14.0"

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.subtle]
version = "2"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "net",
    "time",
    "sync",
    "signal",
    "macros",
]

[dependencies.toml]
version = "1.1"

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = [
    "json",
    "env-filter",
]

[target."cfg(unix)".dependencies.nix]
version = "0.31"
features = [
    "time",
    "net",
    "ioctl",
    "fs",
    "process",
]