Commit Graph

22 Commits

Author SHA1 Message Date
b792276b05 [rustfmt][clippy] more lints, better formatting 2023-08-20 16:34:38 +02:00
e1e1a5c62b [deps] cargo update
chrono v0.4.24 -> v0.4.26
2023-08-20 16:34:38 +02:00
f53cbe8cfa [chg] trim whitespace at end of line and append correct newline 2023-08-20 16:34:37 +02:00
f4201621b7 [build] use cargo sparse registry format 2023-08-20 16:34:37 +02:00
fa9584c7ae [deps] cargo update 2023-08-20 16:34:37 +02:00
f2e9523cf1 [deps] cargo update 2023-08-20 16:34:37 +02:00
9508adf7fc [clippy] inline variables in println! 2023-08-20 16:34:37 +02:00
c1488ddb5c [dev] use generic type (that implements Write trait) for print functions
also simplify `stdin.lock()` and `stdout.lock()`
2023-08-20 16:34:34 +02:00
caf96b30dc [deps] cargo update 2023-08-20 16:33:11 +02:00
22222563b5 [build] don't build native and build for 32/64 bit target 2023-08-20 16:33:11 +02:00
7b1589a0e1 [deps] cargo update, [build] strip symbols, build native and static 2023-08-20 16:33:11 +02:00
6184a0867c [deps] cargo update 2023-08-20 16:33:11 +02:00
218f470041 [dev] save time format string in constant 2023-08-20 16:33:11 +02:00
6acd42ecc2 [chg] reduce nr of decimal places to 6 (microseconds resolution)
nanoseconds is for almost all purposes (TTY) too much and not needed.
2023-08-20 16:33:11 +02:00
b99f27935b [rustfmt] applied the new rustfmt settings 2023-08-20 16:33:11 +02:00
070d07b27c [fix] UnexpectedEof is ok and should not show an error 2023-08-20 16:33:11 +02:00
91ec9ab7ec [fix] log file needs to be opened create + append 2023-08-20 16:33:11 +02:00
a8ca38f4a4 [deps] minimize sub-dependencies of chrono 2023-08-20 16:33:11 +02:00
f4381f091e [rustfmt] rustfmt.toml added 2023-08-20 16:33:11 +02:00
dc110d33b6 [chg] log to file
specify a log file as 1st argument and the input will also be written to
that file. timestamp will be without ansi color codes.
2023-08-20 16:33:06 +02:00
70754218dd [chg] rewrite current line with timestamp prefix after newline
timestamp marks the time when the line was "sent" or "committed"
2023-08-20 16:26:16 +02:00
606d882ec1 [chg] logtimes initial version 2023-08-20 16:26:02 +02:00