[WIP] Break down JxlDecoder
to better support streaming, preview, animation, etc.
#426
ci.yml
on: pull_request
Code Coverage
2m 14s
Sanitizers
2m 56s
msrv
4m 5s
Clippy
2m 35s
Rustfmt
4s
Matrix: Unit Tests
Annotations
15 errors and 1 warning
Unit Tests (macos-latest)
Process completed with exit code 101.
|
Unit Tests (windows-latest)
The job was canceled because "macos-latest" failed.
|
Unit Tests (windows-latest)
The operation was canceled.
|
Unit Tests (ubuntu-latest)
The job was canceled because "macos-latest" failed.
|
Unit Tests (ubuntu-latest)
The operation was canceled.
|
Unit Tests (macos-13, -Clink-args=-fapple-link-rtlib)
The job was canceled because "macos-latest" failed.
|
Unit Tests (macos-13, -Clink-args=-fapple-link-rtlib)
The operation was canceled.
|
Code Coverage
Process completed with exit code 1.
|
[clippy] jpegxl-rs/src/decode/event.rs#L5:
jpegxl-rs/src/decode/event.rs#L5
error[E0432]: unresolved import `jpegxl_sys::types`
--> jpegxl-rs/src/decode/event.rs:5:21
|
5 | pub use jpegxl_sys::types::JxlPixelFormat;
| ^^^^^ could not find `types` in `jpegxl_sys`
|
[clippy] jpegxl-rs/src/decode/session.rs#L3:
jpegxl-rs/src/decode/session.rs#L3
error[E0432]: unresolved imports `jpegxl_sys::color_encoding`, `jpegxl_sys::types`
--> jpegxl-rs/src/decode/session.rs:3:18
|
3 | use jpegxl_sys::{color_encoding::JxlColorEncoding, decode as d, types::JxlPixelFormat};
| ^^^^^^^^^^^^^^ ^^^^^ could not find `types` in `jpegxl_sys`
| |
| could not find `color_encoding` in `jpegxl_sys`
|
[clippy] jpegxl-rs/src/decode/session.rs#L110:
jpegxl-rs/src/decode/session.rs#L110
error[E0599]: no variant or associated item named `JpegReconstruction` found for enum `jpegxl_sys::decode::JxlDecoderStatus` in the current scope
--> jpegxl-rs/src/decode/session.rs:110:16
|
110 | s::JpegReconstruction => {
| ^^^^^^^^^^^^^^^^^^ variant or associated item not found in `JxlDecoderStatus`
|
help: there is a variant with a similar name
|
110 | s::JPEGReconstruction => {
| ~~~~~~~~~~~~~~~~~~
|
[clippy] jpegxl-rs/src/decode/session.rs#L129:
jpegxl-rs/src/decode/session.rs#L129
error[E0599]: no variant or associated item named `JpegNeedMoreOutput` found for enum `jpegxl_sys::decode::JxlDecoderStatus` in the current scope
--> jpegxl-rs/src/decode/session.rs:129:16
|
129 | s::JpegNeedMoreOutput => {
| ^^^^^^^^^^^^^^^^^^ variant or associated item not found in `JxlDecoderStatus`
|
help: there is a variant with a similar name
|
129 | s::JPEGNeedMoreOutput => {
| ~~~~~~~~~~~~~~~~~~
|
[clippy] jpegxl-rs/src/decode/session.rs#L244:
jpegxl-rs/src/decode/session.rs#L244
error: unused variable: `name`
--> jpegxl-rs/src/decode/session.rs:244:13
|
244 | 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)]`
|
Sanitizers
Process completed with exit code 101.
|
msrv
Process completed with exit code 1.
|
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/
|