37 Commits

Author SHA1 Message Date
7bf1352738 [release] logtimes v1.0.23 2024-11-18 11:54:04 +01:00
7f0a8929fe [deps] cargo update
Updating cc   v1.1.31  -> v1.2.1
Updating libc v0.2.161 -> v0.2.164
Updating syn  v2.0.85  -> v2.0.87
2024-11-18 11:53:57 +01:00
6d776af6d1 [release] logtimes v1.0.22 2024-10-24 11:34:20 +02:00
098b7bbe26 [deps] cargo update
Updating syn v2.0.82 -> v2.0.85
2024-10-24 11:34:13 +02:00
57eed0f5ac [release] logtimes v1.0.21 2024-10-23 16:35:14 +02:00
896acd090f [deps] cargo update
Updating proc-macro2 v1.0.88 -> v1.0.89
2024-10-23 16:35:13 +02:00
3e1d0d8bc7 [release] logtimes v1.0.20 2024-10-21 13:51:05 +02:00
ef9706ec58 [deps] cargo update
Updating cc  v1.1.30 -> v1.1.31
Updating syn v2.0.79 -> v2.0.82
2024-10-21 13:50:56 +02:00
bc536a3308 [release] logtimes v1.0.19 2024-10-18 14:41:25 +02:00
e511fe2679 [deps] cargo update
Updating cc          v1.1.29  -> v1.1.30
Updating libc        v0.2.159 -> v0.2.161
Updating proc-macro2 v1.0.87  -> v1.0.88
2024-10-18 14:41:16 +02:00
92e8b0f498 [release] logtimes v1.0.18 2024-10-11 16:01:00 +02:00
af8642baaa [deps] cargo update
Updating cc                         v1.1.28 -> v1.1.29
Updating js-sys                     v0.3.71 -> v0.3.72
Updating wasm-bindgen-backend       v0.2.94 -> v0.2.95
Updating wasm-bindgen-macro-support v0.2.94 -> v0.2.95
Updating wasm-bindgen-macro         v0.2.94 -> v0.2.95
Updating wasm-bindgen-shared        v0.2.94 -> v0.2.95
Updating wasm-bindgen               v0.2.94 -> v0.2.95
2024-10-11 16:00:53 +02:00
1c973cc44e [release] logtimes v1.0.17 2024-10-10 12:51:00 +02:00
ac388c8517 [deps] cargo update
Updating cc                         v1.1.27 -> v1.1.28
Updating js-sys                     v0.3.70 -> v0.3.71
Updating proc-macro2                v1.0.86 -> v1.0.87
Updating wasm-bindgen-backend       v0.2.93 -> v0.2.94
Updating wasm-bindgen-macro-support v0.2.93 -> v0.2.94
Updating wasm-bindgen-macro         v0.2.93 -> v0.2.94
Updating wasm-bindgen-shared        v0.2.93 -> v0.2.94
Updating wasm-bindgen               v0.2.93 -> v0.2.94
2024-10-10 12:50:46 +02:00
2f496265af [release] logtimes v1.0.16 2024-10-06 08:57:42 +02:00
df42841fd1 [deps] cargo update
Updating autocfg   v1.3.0  -> v1.4.0
Updating cc        v1.1.21 -> v1.1.27
Updating once_cell v1.19.0 -> v1.20.2
Updating syn       v2.0.77 -> v2.0.79
2024-10-06 08:57:27 +02:00
9791354234 [release] logtimes v1.0.15 2024-09-25 23:07:09 +02:00
e85bb2298b [deps] cargo update
Updating libc v0.2.158 -> v0.2.159
2024-09-25 23:06:55 +02:00
95da70b177 [release] logtimes v1.0.14 2024-09-19 10:59:47 +02:00
9418cdaced [deps] cargo update
Updating cc             v1.1.18 -> v1.1.21
Updating iana-time-zone v0.1.60 -> v0.1.61
Updating unicode-ident  v1.0.12 -> v1.0.13
2024-09-19 10:59:35 +02:00
ab38176adb [release] logtimes v1.0.13 2024-09-09 11:19:59 +02:00
ce8ac3c7f2 [deps] cargo update
Updating cc v1.1.16 -> v1.1.18
2024-09-09 11:19:49 +02:00
a6d8eba632 [clippy] fix: byte array -> byte str 2024-09-09 11:19:02 +02:00
e5952d5467 [clippy] quirk in Cargo.toml for pedantic lint 2024-09-09 11:17:00 +02:00
90f1515166 [release] logtimes v1.0.12 2024-09-04 16:47:18 +02:00
fb4d9ee3f4 [chg] only 3 decimal places (save space) 2024-09-04 16:47:01 +02:00
2597cc87b8 [deps] cargo update
Updating cc v1.1.15 -> v1.1.16
2024-09-04 16:45:45 +02:00
fbcf7ea4c5 [release] logtimes v1.0.11 2024-09-03 21:01:42 +02:00
7b8f1cf81c [deps] cargo update
Updating cc    v1.1.11  -> v1.1.15
Updating libc  v0.2.155 -> v0.2.158
Updating quote v1.0.36  -> v1.0.37
Updating syn   v2.0.74  -> v2.0.77
2024-09-03 20:52:53 +02:00
f2b0757a87 [release] logtimes v1.0.10 2024-08-14 15:25:14 +02:00
49762be53f [deps] cargo update
Updating autocfg                    v1.2.0   -> v1.3.0
Updating cc                         v1.0.92  -> v1.1.11
Updating chrono                     v0.4.37  -> v0.4.38
Updating core-foundation-sys        v0.8.6   -> v0.8.7
Updating js-sys                     v0.3.69  -> v0.3.70
Updating libc                       v0.2.153 -> v0.2.155
Updating log                        v0.4.21  -> v0.4.22
Updating num-traits                 v0.2.18  -> v0.2.19
Updating proc-macro2                v1.0.79  -> v1.0.86
Adding   shlex                      v1.3.0
Updating syn                        v2.0.58  -> v2.0.74
Updating wasm-bindgen               v0.2.92  -> v0.2.93
Updating wasm-bindgen-backend       v0.2.92  -> v0.2.93
Updating wasm-bindgen-macro         v0.2.92  -> v0.2.93
Updating wasm-bindgen-macro-support v0.2.92  -> v0.2.93
Updating wasm-bindgen-shared        v0.2.92  -> v0.2.93
Updating windows-targets            v0.52.4  -> v0.52.6
Updating windows_aarch64_gnullvm    v0.52.4  -> v0.52.6
Updating windows_aarch64_msvc       v0.52.4  -> v0.52.6
Updating windows_i686_gnu           v0.52.4  -> v0.52.6
Adding   windows_i686_gnullvm       v0.52.6
Updating windows_i686_msvc          v0.52.4  -> v0.52.6
Updating windows_x86_64_gnu         v0.52.4  -> v0.52.6
Updating windows_x86_64_gnullvm     v0.52.4  -> v0.52.6
Updating windows_x86_64_msvc        v0.52.4  -> v0.52.6
2024-08-14 15:24:22 +02:00
43f9345ebc [release] logtimes v1.0.9 2024-08-14 15:23:50 +02:00
cb33e3dce9 [deps] cargo update
bumpalo v3.15.4 -> v3.16.0
cc      v1.0.90 -> v1.0.92
chrono  v0.4.35 -> v0.4.37
quote   v1.0.35 -> v1.0.36
syn     v2.0.55 -> v2.0.58
2024-04-12 17:33:32 +02:00
553f8679a3 [release] logtimes v1.0.8 2024-03-26 10:42:54 +01:00
27a67ad480 [deps] cargo update
Updating autocfg v1.1.0  -> v1.2.0
Updating syn     v2.0.53 -> v2.0.55
2024-03-26 10:41:49 +01:00
aeb7c4fbff [release] logtimes v1.0.7 2024-03-18 09:26:11 +01:00
a07f17f5f5 [deps] cargo update
Updating bumpalo     v3.15.3 -> v3.15.4
Updating cc          v1.0.89 -> v1.0.90
Updating chrono      v0.4.34 -> v0.4.35
Updating proc-macro2 v1.0.78 -> v1.0.79
Updating syn         v2.0.52 -> v2.0.53
2024-03-18 09:21:34 +01:00
3 changed files with 81 additions and 64 deletions

135
Cargo.lock generated
View File

@ -1,6 +1,6 @@
# This file is automatically @generated by Cargo. # This file is automatically @generated by Cargo.
# It is not intended for manual editing. # It is not intended for manual editing.
version = 3 version = 4
[[package]] [[package]]
name = "android-tzdata" name = "android-tzdata"
@ -19,21 +19,24 @@ dependencies = [
[[package]] [[package]]
name = "autocfg" name = "autocfg"
version = "1.1.0" version = "1.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa" checksum = "ace50bade8e6234aa140d9a2f552bbee1db4d353f69b8217bc503490fc1a9f26"
[[package]] [[package]]
name = "bumpalo" name = "bumpalo"
version = "3.15.3" version = "3.16.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8ea184aa71bb362a1157c896979544cc23974e08fd265f29ea96b59f0b4a555b" checksum = "79296716171880943b8470b5f8d03aa55eb2e645a4874bdbb28adb49162e012c"
[[package]] [[package]]
name = "cc" name = "cc"
version = "1.0.89" version = "1.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a0ba8f7aaa012f30d5b2861462f6708eccd49c3c39863fe083a308035f63d723" checksum = "fd9de9f2205d5ef3fd67e685b0df337994ddd4495e2a28d185500d0e1edfea47"
dependencies = [
"shlex",
]
[[package]] [[package]]
name = "cfg-if" name = "cfg-if"
@ -43,9 +46,9 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
[[package]] [[package]]
name = "chrono" name = "chrono"
version = "0.4.34" version = "0.4.38"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5bc015644b92d5890fab7489e49d21f879d5c990186827d42ec511919404f38b" checksum = "a21f936df1771bf62b77f047b726c4625ff2e8aa607c01ec06e5a05bd8463401"
dependencies = [ dependencies = [
"android-tzdata", "android-tzdata",
"iana-time-zone", "iana-time-zone",
@ -55,15 +58,15 @@ dependencies = [
[[package]] [[package]]
name = "core-foundation-sys" name = "core-foundation-sys"
version = "0.8.6" version = "0.8.7"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "06ea2b9bc92be3c2baa9334a323ebca2d6f074ff852cd1d7b11064035cd3868f" checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b"
[[package]] [[package]]
name = "iana-time-zone" name = "iana-time-zone"
version = "0.1.60" version = "0.1.61"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e7ffbb5a1b541ea2561f8c41c087286cc091e21e556a4f09a8f6cbf17b69b141" checksum = "235e081f3925a06703c2d0117ea8b91f042756fd6e7a6e5d901e8ca1a996b220"
dependencies = [ dependencies = [
"android_system_properties", "android_system_properties",
"core-foundation-sys", "core-foundation-sys",
@ -84,70 +87,76 @@ dependencies = [
[[package]] [[package]]
name = "js-sys" name = "js-sys"
version = "0.3.69" version = "0.3.72"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "29c15563dc2726973df627357ce0c9ddddbea194836909d655df6a75d2cf296d" checksum = "6a88f1bda2bd75b0452a14784937d796722fdebfe50df998aeb3f0b7603019a9"
dependencies = [ dependencies = [
"wasm-bindgen", "wasm-bindgen",
] ]
[[package]] [[package]]
name = "libc" name = "libc"
version = "0.2.153" version = "0.2.164"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9c198f91728a82281a64e1f4f9eeb25d82cb32a5de251c6bd1b5154d63a8e7bd" checksum = "433bfe06b8c75da9b2e3fbea6e5329ff87748f0b144ef75306e674c3f6f7c13f"
[[package]] [[package]]
name = "log" name = "log"
version = "0.4.21" version = "0.4.22"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "90ed8c1e510134f979dbc4f070f87d4313098b704861a105fe34231c70a3901c" checksum = "a7a70ba024b9dc04c27ea2f0c0548feb474ec5c54bba33a7f72f873a39d07b24"
[[package]] [[package]]
name = "logtimes" name = "logtimes"
version = "1.0.6" version = "1.0.23"
dependencies = [ dependencies = [
"chrono", "chrono",
] ]
[[package]] [[package]]
name = "num-traits" name = "num-traits"
version = "0.2.18" version = "0.2.19"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "da0df0e5185db44f69b44f26786fe401b6c293d1907744beaa7fa62b2e5a517a" checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841"
dependencies = [ dependencies = [
"autocfg", "autocfg",
] ]
[[package]] [[package]]
name = "once_cell" name = "once_cell"
version = "1.19.0" version = "1.20.2"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92" checksum = "1261fe7e33c73b354eab43b1273a57c8f967d0391e80353e51f764ac02cf6775"
[[package]] [[package]]
name = "proc-macro2" name = "proc-macro2"
version = "1.0.78" version = "1.0.89"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e2422ad645d89c99f8f3e6b88a9fdeca7fabeac836b1002371c4367c8f984aae" checksum = "f139b0662de085916d1fb67d2b4169d1addddda1919e696f3252b740b629986e"
dependencies = [ dependencies = [
"unicode-ident", "unicode-ident",
] ]
[[package]] [[package]]
name = "quote" name = "quote"
version = "1.0.35" version = "1.0.37"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "291ec9ab5efd934aaf503a6466c5d5251535d108ee747472c3977cc5acc868ef" checksum = "b5b9d34b8991d19d98081b46eacdd8eb58c6f2b201139f7c5f643cc155a633af"
dependencies = [ dependencies = [
"proc-macro2", "proc-macro2",
] ]
[[package]] [[package]]
name = "syn" name = "shlex"
version = "2.0.52" version = "1.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b699d15b36d1f02c3e7c69f8ffef53de37aefae075d8488d4ba1a7788d574a07" checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64"
[[package]]
name = "syn"
version = "2.0.87"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "25aa4ce346d03a6dcd68dd8b4010bcb74e54e62c90c573f394c46eae99aba32d"
dependencies = [ dependencies = [
"proc-macro2", "proc-macro2",
"quote", "quote",
@ -156,25 +165,26 @@ dependencies = [
[[package]] [[package]]
name = "unicode-ident" name = "unicode-ident"
version = "1.0.12" version = "1.0.13"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b" checksum = "e91b56cd4cadaeb79bbf1a5645f6b4f8dc5bde8834ad5894a8db35fda9efa1fe"
[[package]] [[package]]
name = "wasm-bindgen" name = "wasm-bindgen"
version = "0.2.92" version = "0.2.95"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4be2531df63900aeb2bca0daaaddec08491ee64ceecbee5076636a3b026795a8" checksum = "128d1e363af62632b8eb57219c8fd7877144af57558fb2ef0368d0087bddeb2e"
dependencies = [ dependencies = [
"cfg-if", "cfg-if",
"once_cell",
"wasm-bindgen-macro", "wasm-bindgen-macro",
] ]
[[package]] [[package]]
name = "wasm-bindgen-backend" name = "wasm-bindgen-backend"
version = "0.2.92" version = "0.2.95"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "614d787b966d3989fa7bb98a654e369c762374fd3213d212cfc0251257e747da" checksum = "cb6dd4d3ca0ddffd1dd1c9c04f94b868c37ff5fac97c30b97cff2d74fce3a358"
dependencies = [ dependencies = [
"bumpalo", "bumpalo",
"log", "log",
@ -187,9 +197,9 @@ dependencies = [
[[package]] [[package]]
name = "wasm-bindgen-macro" name = "wasm-bindgen-macro"
version = "0.2.92" version = "0.2.95"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a1f8823de937b71b9460c0c34e25f3da88250760bec0ebac694b49997550d726" checksum = "e79384be7f8f5a9dd5d7167216f022090cf1f9ec128e6e6a482a2cb5c5422c56"
dependencies = [ dependencies = [
"quote", "quote",
"wasm-bindgen-macro-support", "wasm-bindgen-macro-support",
@ -197,9 +207,9 @@ dependencies = [
[[package]] [[package]]
name = "wasm-bindgen-macro-support" name = "wasm-bindgen-macro-support"
version = "0.2.92" version = "0.2.95"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e94f17b526d0a461a191c78ea52bbce64071ed5c04c9ffe424dcb38f74171bb7" checksum = "26c6ab57572f7a24a4985830b120de1594465e5d500f24afe89e16b4e833ef68"
dependencies = [ dependencies = [
"proc-macro2", "proc-macro2",
"quote", "quote",
@ -210,9 +220,9 @@ dependencies = [
[[package]] [[package]]
name = "wasm-bindgen-shared" name = "wasm-bindgen-shared"
version = "0.2.92" version = "0.2.95"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "af190c94f2773fdb3729c55b007a722abb5384da03bc0986df4c289bf5567e96" checksum = "65fc09f10666a9f147042251e0dda9c18f166ff7de300607007e96bdebc1068d"
[[package]] [[package]]
name = "windows-core" name = "windows-core"
@ -225,13 +235,14 @@ dependencies = [
[[package]] [[package]]
name = "windows-targets" name = "windows-targets"
version = "0.52.4" version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7dd37b7e5ab9018759f893a1952c9420d060016fc19a472b4bb20d1bdd694d1b" checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973"
dependencies = [ dependencies = [
"windows_aarch64_gnullvm", "windows_aarch64_gnullvm",
"windows_aarch64_msvc", "windows_aarch64_msvc",
"windows_i686_gnu", "windows_i686_gnu",
"windows_i686_gnullvm",
"windows_i686_msvc", "windows_i686_msvc",
"windows_x86_64_gnu", "windows_x86_64_gnu",
"windows_x86_64_gnullvm", "windows_x86_64_gnullvm",
@ -240,42 +251,48 @@ dependencies = [
[[package]] [[package]]
name = "windows_aarch64_gnullvm" name = "windows_aarch64_gnullvm"
version = "0.52.4" version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bcf46cf4c365c6f2d1cc93ce535f2c8b244591df96ceee75d8e83deb70a9cac9" checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3"
[[package]] [[package]]
name = "windows_aarch64_msvc" name = "windows_aarch64_msvc"
version = "0.52.4" version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "da9f259dd3bcf6990b55bffd094c4f7235817ba4ceebde8e6d11cd0c5633b675" checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469"
[[package]] [[package]]
name = "windows_i686_gnu" name = "windows_i686_gnu"
version = "0.52.4" version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b474d8268f99e0995f25b9f095bc7434632601028cf86590aea5c8a5cb7801d3" checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b"
[[package]]
name = "windows_i686_gnullvm"
version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66"
[[package]] [[package]]
name = "windows_i686_msvc" name = "windows_i686_msvc"
version = "0.52.4" version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1515e9a29e5bed743cb4415a9ecf5dfca648ce85ee42e15873c3cd8610ff8e02" checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66"
[[package]] [[package]]
name = "windows_x86_64_gnu" name = "windows_x86_64_gnu"
version = "0.52.4" version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5eee091590e89cc02ad514ffe3ead9eb6b660aedca2183455434b93546371a03" checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78"
[[package]] [[package]]
name = "windows_x86_64_gnullvm" name = "windows_x86_64_gnullvm"
version = "0.52.4" version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "77ca79f2451b49fa9e2af39f0747fe999fcda4f5e241b2898624dca97a1f2177" checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d"
[[package]] [[package]]
name = "windows_x86_64_msvc" name = "windows_x86_64_msvc"
version = "0.52.4" version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "32b752e52a2da0ddfbdbcc6fceadfeede4c939ed16d13e648833a61dfb611ed8" checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec"

View File

@ -1,6 +1,6 @@
[package] [package]
name = "logtimes" name = "logtimes"
version = "1.0.6" version = "1.0.23"
authors = ["Paul Schulze <p.schulze@avm.de>"] authors = ["Paul Schulze <p.schulze@avm.de>"]
edition = "2021" edition = "2021"
@ -13,7 +13,7 @@ features = ["std", "clock"]
unsafe_code = "forbid" unsafe_code = "forbid"
[lints.clippy] [lints.clippy]
pedantic = "warn" pedantic = { level = "warn", priority = -1 }
todo = "warn" todo = "warn"
unwrap_used = "warn" unwrap_used = "warn"
inline_always = "allow" inline_always = "allow"

View File

@ -6,7 +6,7 @@ use std::{
use chrono::prelude::*; use chrono::prelude::*;
const TIME_FORMAT: &str = "%H:%M:%S%.6f"; const TIME_FORMAT: &str = "%H:%M:%S%.3f";
type LogtimesResult = Result<(), IoError>; type LogtimesResult = Result<(), IoError>;
@ -89,13 +89,13 @@ fn run() -> LogtimesResult {
let end = trim_end(&linebuf); let end = trim_end(&linebuf);
out.write_all(&linebuf[..end])?; out.write_all(&linebuf[..end])?;
out.write_all(&[b'\r', b'\n'])?; out.write_all(b"\r\n")?;
out.flush()?; out.flush()?;
if let Some(ref mut f) = log_file { if let Some(ref mut f) = log_file {
print_time(f)?; print_time(f)?;
f.write_all(&linebuf[..end])?; f.write_all(&linebuf[..end])?;
f.write_all(&[b'\n'])?; f.write_all(b"\n")?;
f.flush()?; f.flush()?;
}; };