refactor: replace unmaintained chrono with time (RUSTSEC-2026-0543)
Adds a timeutil module (unix_now, is_valid_unix, RFC 3339 format/parse) and moves ClickHouse event timestamps to time::serde::rfc3339. cargo deny is green again.
This commit is contained in:
parent
f25dc3558a
commit
e2adf8601c
19 changed files with 74 additions and 128 deletions
|
|
@ -31,6 +31,9 @@
|
|||
|
||||
### Changed
|
||||
|
||||
- `chrono` заменён на `time` (новый модуль `timeutil`): RUSTSEC-2026-0543 помечает `chrono` как
|
||||
неподдерживаемый, `cargo deny` падал. Формат на проводе тот же (RFC 3339, но UTC теперь с
|
||||
суффиксом `Z`, а не `+00:00`).
|
||||
- `[profile.release]`: `lto = "thin"`, `codegen-units = 1`. Релизный бинарь с
|
||||
`protocol-http` уменьшился с 12.3 МБ до 9.7 МБ (−21%); `http_parser/evaluate`
|
||||
в criterion — 314 нс → 278 нс (−12%), остальные бенчмарки в пределах шума.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue