[WIP] Break down JxlDecoder
to better support streaming, preview, animation, etc.
#428
ci.yml
on: pull_request
Code Coverage
3m 9s
Sanitizers
2m 42s
msrv
3m 53s
Clippy
2m 3s
Rustfmt
4s
Matrix: Unit Tests
Annotations
3 errors and 1 warning
[clippy] jpegxl-rs/src/decode/session.rs#L246:
jpegxl-rs/src/decode/session.rs#L246
error: unused variable: `name`
--> jpegxl-rs/src/decode/session.rs:246:13
|
246 | let name = CString::from_vec_with_nul(buffer)
| ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
|
= note: `-D unused-variables` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(unused_variables)]`
|
[clippy] jpegxl-rs/src/decode/session.rs#L30:
jpegxl-rs/src/decode/session.rs#L30
error: field `frame` is never read
--> jpegxl-rs/src/decode/session.rs:33:9
|
30 | pub(crate) struct Config {
| ------ field in this struct
...
33 | pub frame: Option<usize>,
| ^^^^^
|
= note: `Config` has derived impls for the traits `Default` and `Debug`, but these are intentionally ignored during dead code analysis
= note: `-D dead-code` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(dead_code)]`
|
[clippy] jpegxl-rs/src/decode/session.rs#L45:
jpegxl-rs/src/decode/session.rs#L45
error: field `state` is never read
--> jpegxl-rs/src/decode/session.rs:50:5
|
45 | pub struct Session<'dec, 'pr, 'mm> {
| ------- field in this struct
...
50 | state: State,
| ^^^^^
|
Clippy
The following actions use a deprecated Node.js version and will be forced to run on node20: giraffate/clippy-action@v1.0.1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|