Use JxlEncoderDistanceFromQuality in the encoder builder. #252
ci.yml
on: push
Code Coverage
2m 49s
Sanitizers
3m 11s
Clippy
2m 31s
Rustfmt
12s
Matrix: Unit Tests
Annotations
2 errors and 1 warning
[clippy] jpegxl-rs/src/memory.rs#L42:
jpegxl-rs/src/memory.rs#L42
error: reference as raw pointer
--> jpegxl-rs/src/memory.rs:42:21
|
42 | opaque: (self as *const Self).cast_mut().cast(),
| ^^^^^^^^^^^^^^^^^^^^^ help: try: `std::ptr::from_ref::<Self>(self)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ref_as_ptr
= note: `-D clippy::ref-as-ptr` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::ref_as_ptr)]`
|
[clippy] jpegxl-rs/src/memory.rs#L121:
jpegxl-rs/src/memory.rs#L121
error: reference as raw pointer
--> jpegxl-rs/src/memory.rs:121:31
|
121 | break (addr as *mut u8).cast();
| ^^^^^^^^^^^^^^^^^ help: try: `std::ptr::from_mut::<u8>(addr)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ref_as_ptr
|
Clippy
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3, giraffate/clippy-action@v1.0.1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|