A (very) simple server implementation of the WebSocket Time Protocol (WST) in Rust, based on the work by M. Gutbrod, et al. in A light-weight time protocol based on common web standards.
cargo install
Server:
$ ./wst 127.0.0.1:8080
Client:
$ echo '{"c":1683229952425}' | websocat 'ws://127.0.0.1:8080/wst'
{"c":1683229952425,"s":1683232267249,"e":null,"l":3}
Thanks to our sponsor Cignals footprint charts cryptocurrency charting platform.