Use std LazyLock instead of lazy_regex
.
#143
Annotations
13 warnings
Rustfmt
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
clippy
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
clippy:
src/server/splitlist.rs#L147
use of deprecated method `chrono::NaiveDateTime::timestamp`: use `.and_utc().timestamp()` instead
|
clippy:
src/models.rs#L287
fields `id`, `photo_id`, and `tag_id` are never read
|
clippy:
src/models.rs#L332
fields `photo_id` and `person_id` are never read
|
clippy:
src/models.rs#L357
fields `photo_id` and `place_id` are never read
|
clippy:
src/server/search.rs#L248
for loop over a `&Option`. This is more readably written as an `if let` statement
|
Test Suite
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Test Suite:
src/server/splitlist.rs#L147
use of deprecated method `chrono::NaiveDateTime::timestamp`: use `.and_utc().timestamp()` instead
|
Test Suite:
src/models.rs#L287
fields `id`, `photo_id`, and `tag_id` are never read
|
Test Suite:
src/models.rs#L332
fields `photo_id` and `person_id` are never read
|
Test Suite:
src/models.rs#L357
fields `photo_id` and `place_id` are never read
|
Test Suite:
src/server/search.rs#L248
for loop over a `&Option`. This is more readably written as an `if let` statement
|