rusty-ts 0.1.0

Prefix each line of stdin with a timestamp — a Rust port of moreutils `ts` with strict-compat mode, IANA timezone control, and a reusable byte-typed library API.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Captured moreutils ts inputs and outputs are stored verbatim — no
# line-ending conversion. Without this, Windows checkouts convert LF to
# CRLF (autocrlf=true is the default), which breaks byte-equal snapshot
# tests against fixtures whose source-of-truth is the Linux-emitted moreutils
# output. The stderr-comparison tests in tests/compat_strict.rs are
# particularly sensitive because writeln!() always emits LF, while the
# fixture file would have been CRLF after Windows checkout.
fixtures/inputs/** binary
fixtures/moreutils_outputs/** binary

# Bash scripts must use LF endings even on Windows checkouts so they can
# be run inside WSL / Linux CI / macOS without confusion.
*.sh text eol=lf

# Generated completion scripts also need stable line endings for the
# drift test to compare correctly.
completions/** -text