Avoid using inline CSS. #283
Annotations
12 warnings
field `created_at` is never read:
src/models.rs#L2394
warning: field `created_at` is never read
--> src/models.rs:2394:9
|
2391 | pub struct PendingNotification {
| ------------------- field in this struct
...
2394 | pub created_at: chrono::DateTime<chrono::Utc>,
| ^^^^^^^^^^
|
field `owner_id` is never read:
src/models.rs#L2289
warning: field `owner_id` is never read
--> src/models.rs:2289:9
|
2287 | pub struct UserAllowlist {
| ------------- field in this struct
2288 | pub id: Uuid,
2289 | pub owner_id: Uuid,
| ^^^^^^^^
|
fields `id`, `post_fullname`, `size`, `sha256`, and `perceptual_hash` are never read:
src/models.rs#L2232
warning: fields `id`, `post_fullname`, `size`, `sha256`, and `perceptual_hash` are never read
--> src/models.rs:2232:9
|
2229 | pub struct RedditImage {
| ----------- fields in this struct
...
2232 | pub id: Uuid,
| ^^
2233 | pub post_fullname: String,
| ^^^^^^^^^^^^^
2234 | pub size: i32,
| ^^^^
2235 | pub sha256: [u8; 32],
| ^^^^^^
2236 | pub perceptual_hash: Option<[u8; 8]>,
| ^^^^^^^^^^^^^^^
|
fields `size`, `sha256`, and `perceptual_hash` are never read:
src/models.rs#L2179
warning: fields `size`, `sha256`, and `perceptual_hash` are never read
--> src/models.rs:2179:9
|
2173 | pub struct BlueskyImage {
| ------------ fields in this struct
...
2179 | pub size: i64,
| ^^^^
2180 | pub sha256: [u8; 32],
| ^^^^^^
2181 | pub perceptual_hash: Option<[u8; 8]>,
| ^^^^^^^^^^^^^^^
|
field `linked_account_id` is never read:
src/models.rs#L1433
warning: field `linked_account_id` is never read
--> src/models.rs:1433:9
|
1432 | pub struct LinkedAccountImport {
| ------------------- field in this struct
1433 | pub linked_account_id: Uuid,
| ^^^^^^^^^^^^^^^^^
|
= note: `LinkedAccountImport` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
|
field `user_id` is never read:
src/models.rs#L472
warning: field `user_id` is never read
--> src/models.rs:472:9
|
470 | pub struct UserSession {
| ----------- field in this struct
471 | pub id: Uuid,
472 | pub user_id: Uuid,
| ^^^^^^^
|
field `created_at` is never read:
src/models.rs#L380
warning: field `created_at` is never read
--> src/models.rs:380:9
|
377 | pub struct WebauthnCredential {
| ------------------ field in this struct
...
380 | pub created_at: chrono::DateTime<chrono::Utc>,
| ^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
|
clippy_check
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, Swatinem/rust-cache@v1, actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
clippy_check
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v2, Swatinem/rust-cache@v1, actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
clippy_check
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
clippy_check
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
clippy_check
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|