clock-check

Crates.ioclock-check
lib.rsclock-check
version0.4.0
sourcesrc
created_at2023-02-26 18:13:16.374911
updated_at2024-02-24 22:18:58.043306
descriptionA tool for getting your system clock precision
homepagehttps://github.com/filiptronicek/time-server-rust
repositoryhttps://github.com/filiptronicek/time-server-rust
max_upload_size
id795397
size65,542
Filip Troníček (filiptronicek)

documentation

README

Time server CLI

This is a simple command-line interface to the time server.

Warning: This is a work in progress.

Installation

cargo install clock-check

Usage

Usage: clock-check [OPTIONS]

Options:
  -s, --server <SERVER>     The URL of the time server [default: http://localhost:8000/time]
  -b, --bare                Only output the server unix server time
      --seconds             Use seconds instead of milliseconds
  -t, --timeout <TIMEOUT>   A timeout in milliseconds [default: 1000]
  -l, --latency-in-account  Try to account for network latency. This is not very accurate and should be considered experimental
  -u, --use-ntp             Use NTP to get the time instead of a time server (experimental). This will use time.cloudflare.com:123 by default, but you can specify a different server with the --server flag
  -h, --help                Print help
  -V, --version             Print version
Commit count: 79

cargo fmt