Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
bd4f102
Start work on a libpressio codec wrapper
juntyr Apr 24, 2025
f0b9581
Try with some libpressio fixes
juntyr Apr 25, 2025
d5a0800
Skip numcodecs-pressio in non-builder WASM CI
juntyr Apr 25, 2025
1f7d116
Update libpressio rev
juntyr Apr 25, 2025
433f86b
Fix clippy lints
juntyr Apr 25, 2025
9f380d1
Some WASM hacks
juntyr Feb 12, 2026
beb5952
Clean up libpressio dependencies
juntyr Feb 12, 2026
ffd2a58
Some experimentation to produce more link errors
juntyr Feb 12, 2026
2890ed0
Upgrade to upstream std_compat
juntyr Feb 12, 2026
4483821
Only link libstdc++ in libpressio on Linux target
juntyr Feb 12, 2026
27d17e8
Fix target_os check in libpressio build.rs
juntyr Feb 12, 2026
4ce862c
no really really don't ask
juntyr Feb 17, 2026
de373d8
add some option parsing and inspection support
juntyr Feb 17, 2026
452704f
some more plugins
juntyr Feb 18, 2026
4d60a2f
enable more plugins
juntyr Feb 18, 2026
eb0fd90
Simple encode/decode implementation
juntyr Feb 21, 2026
5ff284b
add host libcxx to the nix flake
juntyr Feb 23, 2026
00126c4
fix cmake env lookup
juntyr Feb 23, 2026
d45cbae
Fix clippy lint
juntyr Feb 23, 2026
392f9cd
Pressio and PressioCompressor are Send + !Sync
juntyr Mar 1, 2026
b67439e
derive host sysroot in builder from clang include paths
juntyr Mar 2, 2026
1592214
debug clang include path on Linux
juntyr Mar 2, 2026
d39194a
more flexible sysroot finding
juntyr Mar 2, 2026
2d4d92d
why not?
juntyr Mar 2, 2026
2cdc529
try again
juntyr Mar 2, 2026
191de86
separate error for en/de-code to array without data
juntyr Mar 2, 2026
478c90d
Enable more plugins
juntyr Mar 9, 2026
c3bf4ed
port pressio_register_generator to CMake
juntyr Mar 10, 2026
ecded80
Fix git rev
juntyr Mar 10, 2026
d235c6b
add LIBPRESSIO_WITH_EXTERNAL option
juntyr Mar 10, 2026
72b9c77
Start bringing codec config closer to existing libpressio numcodecs i…
juntyr Mar 11, 2026
4725ed5
Fix clippy lint
juntyr Mar 11, 2026
6f8fce8
Progress with serialising the compressor config
juntyr Mar 12, 2026
5dd34c6
small code updates
juntyr Mar 13, 2026
4eb68b3
fix some config bugs
juntyr Mar 13, 2026
9a77036
include metric results in config and add help when deserialising opti…
juntyr Mar 14, 2026
15997f8
support inline data nd arrays in the config
juntyr Mar 14, 2026
b87d0c4
add linear quantizer test
juntyr Mar 15, 2026
85da947
fix pressio metrics results
juntyr Mar 15, 2026
45da30c
add support for the libpressio bzip2 compressor
juntyr Mar 16, 2026
506e19f
Try out Lua support for libpressio
juntyr Mar 17, 2026
5922a96
update libpressio-rs
juntyr Mar 22, 2026
697925a
allow using non-sendable pressio compressors using fragile
juntyr Mar 26, 2026
0c29939
Update libpressio-rs
juntyr Apr 22, 2026
1082c6c
Bump MSRV to 1.88
juntyr Apr 22, 2026
411c5ea
Try removing bytemuck version pin
juntyr Apr 22, 2026
807d725
Try to remove wasm-bindgen pin
juntyr Apr 22, 2026
ffbe07e
Fix clippy
juntyr Apr 22, 2026
0a89029
add serde(deny_unknown_fields) for pressio config
juntyr Apr 22, 2026
29780c8
Fix clippy
juntyr Apr 22, 2026
646e05c
Improve codec schema inlining
juntyr Apr 23, 2026
caeb54e
Remove extraneous schemars dependency in numcodecs-wasm-guest
juntyr Apr 23, 2026
c69c1de
add failing config test
juntyr Apr 30, 2026
cd298db
Fix pressio bool data array
juntyr Apr 30, 2026
ef7bfaa
Prepare manual v0.1.0-beta.1 release
juntyr Apr 30, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
rust: ["1.87", stable, nightly]
rust: ["1.88", stable, nightly]
lock: ["Cargo.lock", "Cargo.lock.min"]
runs-on: ${{ matrix.os }}
needs: lock
Expand Down Expand Up @@ -93,6 +93,7 @@ jobs:
--exclude numcodecs-ebcc \
--exclude numcodecs-jpeg2000 \
--exclude numcodecs-lc \
--exclude numcodecs-pressio \
--exclude numcodecs-qpet-sperr \
--exclude numcodecs-sperr \
--exclude numcodecs-sz3 \
Expand Down Expand Up @@ -177,7 +178,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
rust: ["1.87", stable]
rust: ["1.88", stable]
lock: ["Cargo.lock", "Cargo.lock.min"]
runs-on: ${{ matrix.os }}
needs: lock
Expand Down Expand Up @@ -229,6 +230,7 @@ jobs:
--exclude numcodecs-ebcc \
--exclude numcodecs-jpeg2000 \
--exclude numcodecs-lc \
--exclude numcodecs-pressio \
--exclude numcodecs-qpet-sperr \
--exclude numcodecs-sperr \
--exclude numcodecs-sz3 \
Expand All @@ -248,6 +250,7 @@ jobs:
--exclude numcodecs-ebcc \
--exclude numcodecs-jpeg2000 \
--exclude numcodecs-lc \
--exclude numcodecs-pressio \
--exclude numcodecs-qpet-sperr \
--exclude numcodecs-sperr \
--exclude numcodecs-sz3 \
Expand Down
11 changes: 8 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ members = [
"codecs/linear-quantize",
"codecs/log",
"codecs/pco",
"codecs/pressio",
"codecs/qpet-sperr",
"codecs/random-projection",
"codecs/reinterpret",
Expand All @@ -43,14 +44,14 @@ edition = "2024"
authors = ["Juniper Tyree <juniper.tyree@helsinki.fi>"]
repository = "https://github.com/juntyr/numcodecs-rs"
license = "MPL-2.0"
rust-version = "1.87"
rust-version = "1.88"

[workspace.dependencies]
# workspace-internal numcodecs crates
numcodecs = { version = "0.3.1", path = "crates/numcodecs", default-features = false }
numcodecs = { version = "0.3.2", path = "crates/numcodecs", default-features = false }
numcodecs-python = { version = "0.7.1", path = "crates/numcodecs-python", default-features = false }
numcodecs-wasm-builder = { version = "0.2", path = "crates/numcodecs-wasm-builder", default-features = false }
numcodecs-wasm-guest = { version = "0.3", path = "crates/numcodecs-wasm-guest", default-features = false }
numcodecs-wasm-guest = { version = "0.3.1", path = "crates/numcodecs-wasm-guest", default-features = false }
numcodecs-wasm-host = { version = "0.2", path = "crates/numcodecs-wasm-host", default-features = false }
numcodecs-wasm-host-reproducible = { version = "0.2.2", path = "crates/numcodecs-wasm-host-reproducible", default-features = false }
numcodecs-wasm-logging = { version = "0.2", path = "crates/numcodecs-wasm-logging", default-features = false }
Expand All @@ -69,6 +70,7 @@ numcodecs-lc = { version = "0.1", path = "codecs/lc", default-features = false }
numcodecs-linear-quantize = { version = "0.5", path = "codecs/linear-quantize", default-features = false }
numcodecs-log = { version = "0.5", path = "codecs/log", default-features = false }
numcodecs-pco = { version = "0.3", path = "codecs/pco", default-features = false }
numcodecs-pressio = { version = "0.1", path = "codecs/pressio", default-features = false }
numcodecs-qpet-sperr = { version = "0.2.2", path = "codecs/qpet-sperr", default-features = false }
numcodecs-random-projection = { version = "0.4", path = "codecs/random-projection", default-features = false }
numcodecs-reinterpret = { version = "0.4", path = "codecs/reinterpret", default-features = false }
Expand All @@ -91,9 +93,11 @@ clap = { version = "4.5", default-features = false }
convert_case = { version = "0.8", default-features = false }
ebcc = { version = "0.1", default-features = false }
format_serde_error = { version = "0.3", default-features = false }
fragile = { version = "2.0", default-features = false }
indexmap = { version = "2.10", default-features = false }
itertools = { version = "0.14", default-features = false }
lc-framework = { version = "0.1", default-features = false }
libpressio = { version = "0.1", git = "https://github.com/juntyr/libpressio-rs.git", rev = "018c80b", default-features = false }
log = { version = "0.4.27", default-features = false }
miniz_oxide = { version = "0.8.5", default-features = false }
ndarray = { version = "0.16.1", default-features = false } # keep in sync with numpy
Expand All @@ -115,6 +119,7 @@ schemars = { version = "1.0.3", default-features = false }
scratch = { version = "1.0", default-features = false }
semver = { version = "1.0.23", default-features = false }
serde = { version = "1.0.218", default-features = false }
serde-ndim = { version = "=2.1.1", git = "https://github.com/juntyr/serde-ndim.git", rev = "060c889", default-features = false }
serde-transcode = { version = "1.1", default-features = false }
serde_json = { version = "1.0.140", default-features = false }
serde_repr = { version = "0.1.5", default-features = false }
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
[CI Status]: https://img.shields.io/github/actions/workflow/status/juntyr/numcodecs-rs/ci.yml?branch=main
[workflow]: https://github.com/juntyr/numcodecs-rs/actions/workflows/ci.yml?query=branch%3Amain

[MSRV]: https://img.shields.io/badge/MSRV-1.87.0-blue
[MSRV]: https://img.shields.io/badge/MSRV-1.88.0-blue
[repo]: https://github.com/juntyr/numcodecs-rs

[Latest Version]: https://img.shields.io/crates/v/numcodecs
Expand Down
2 changes: 1 addition & 1 deletion codecs/asinh/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
[CI Status]: https://img.shields.io/github/actions/workflow/status/juntyr/numcodecs-rs/ci.yml?branch=main
[workflow]: https://github.com/juntyr/numcodecs-rs/actions/workflows/ci.yml?query=branch%3Amain

[MSRV]: https://img.shields.io/badge/MSRV-1.87.0-blue
[MSRV]: https://img.shields.io/badge/MSRV-1.88.0-blue
[repo]: https://github.com/juntyr/numcodecs-rs

[Latest Version]: https://img.shields.io/crates/v/numcodecs-asinh
Expand Down
2 changes: 1 addition & 1 deletion codecs/asinh/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
//! [CI Status]: https://img.shields.io/github/actions/workflow/status/juntyr/numcodecs-rs/ci.yml?branch=main
//! [workflow]: https://github.com/juntyr/numcodecs-rs/actions/workflows/ci.yml?query=branch%3Amain
//!
//! [MSRV]: https://img.shields.io/badge/MSRV-1.87.0-blue
//! [MSRV]: https://img.shields.io/badge/MSRV-1.88.0-blue
//! [repo]: https://github.com/juntyr/numcodecs-rs
//!
//! [Latest Version]: https://img.shields.io/crates/v/numcodecs-asinh
Expand Down
2 changes: 1 addition & 1 deletion codecs/bit-round/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
[CI Status]: https://img.shields.io/github/actions/workflow/status/juntyr/numcodecs-rs/ci.yml?branch=main
[workflow]: https://github.com/juntyr/numcodecs-rs/actions/workflows/ci.yml?query=branch%3Amain

[MSRV]: https://img.shields.io/badge/MSRV-1.87.0-blue
[MSRV]: https://img.shields.io/badge/MSRV-1.88.0-blue
[repo]: https://github.com/juntyr/numcodecs-rs

[Latest Version]: https://img.shields.io/crates/v/numcodecs-bit-round
Expand Down
2 changes: 1 addition & 1 deletion codecs/bit-round/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
//! [CI Status]: https://img.shields.io/github/actions/workflow/status/juntyr/numcodecs-rs/ci.yml?branch=main
//! [workflow]: https://github.com/juntyr/numcodecs-rs/actions/workflows/ci.yml?query=branch%3Amain
//!
//! [MSRV]: https://img.shields.io/badge/MSRV-1.87.0-blue
//! [MSRV]: https://img.shields.io/badge/MSRV-1.88.0-blue
//! [repo]: https://github.com/juntyr/numcodecs-rs
//!
//! [Latest Version]: https://img.shields.io/crates/v/numcodecs-bit-round
Expand Down
2 changes: 1 addition & 1 deletion codecs/ebcc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
[CI Status]: https://img.shields.io/github/actions/workflow/status/juntyr/numcodecs-rs/ci.yml?branch=main
[workflow]: https://github.com/juntyr/numcodecs-rs/actions/workflows/ci.yml?query=branch%3Amain

[MSRV]: https://img.shields.io/badge/MSRV-1.87.0-blue
[MSRV]: https://img.shields.io/badge/MSRV-1.88.0-blue
[repo]: https://github.com/juntyr/numcodecs-rs

[Latest Version]: https://img.shields.io/crates/v/numcodecs-ebcc
Expand Down
6 changes: 5 additions & 1 deletion codecs/ebcc/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
//! [CI Status]: https://img.shields.io/github/actions/workflow/status/juntyr/numcodecs-rs/ci.yml?branch=main
//! [workflow]: https://github.com/juntyr/numcodecs-rs/actions/workflows/ci.yml?query=branch%3Amain
//!
//! [MSRV]: https://img.shields.io/badge/MSRV-1.87.0-blue
//! [MSRV]: https://img.shields.io/badge/MSRV-1.88.0-blue
//! [repo]: https://github.com/juntyr/numcodecs-rs
//!
//! [Latest Version]: https://img.shields.io/crates/v/numcodecs-ebcc
Expand Down Expand Up @@ -263,6 +263,10 @@ impl<'de> Deserialize<'de> for Positive<f32> {
}

impl JsonSchema for Positive<f32> {
fn inline_schema() -> bool {
true
}

fn schema_name() -> Cow<'static, str> {
Cow::Borrowed("PositiveF32")
}
Expand Down
1 change: 1 addition & 0 deletions codecs/ebcc/tests/schema.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ fn schema() {
.to_value()
);

#[expect(clippy::manual_assert, clippy::panic)]
if schema != include_str!("schema.json") {
panic!("EBCC schema has changed\n===\n{schema}\n===");
}
Expand Down
2 changes: 1 addition & 1 deletion codecs/fixed-offset-scale/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
[CI Status]: https://img.shields.io/github/actions/workflow/status/juntyr/numcodecs-rs/ci.yml?branch=main
[workflow]: https://github.com/juntyr/numcodecs-rs/actions/workflows/ci.yml?query=branch%3Amain

[MSRV]: https://img.shields.io/badge/MSRV-1.87.0-blue
[MSRV]: https://img.shields.io/badge/MSRV-1.88.0-blue
[repo]: https://github.com/juntyr/numcodecs-rs

[Latest Version]: https://img.shields.io/crates/v/numcodecs-fixed-offset-scale
Expand Down
2 changes: 1 addition & 1 deletion codecs/fixed-offset-scale/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
//! [CI Status]: https://img.shields.io/github/actions/workflow/status/juntyr/numcodecs-rs/ci.yml?branch=main
//! [workflow]: https://github.com/juntyr/numcodecs-rs/actions/workflows/ci.yml?query=branch%3Amain
//!
//! [MSRV]: https://img.shields.io/badge/MSRV-1.87.0-blue
//! [MSRV]: https://img.shields.io/badge/MSRV-1.88.0-blue
//! [repo]: https://github.com/juntyr/numcodecs-rs
//!
//! [Latest Version]: https://img.shields.io/crates/v/numcodecs-fixed-offset-scale
Expand Down
4 changes: 2 additions & 2 deletions codecs/fourier-network/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ keywords = ["fourier", "network", "numcodecs", "compression", "encoding"]

[dependencies]
burn = { workspace = true, features = ["std", "autodiff", "ndarray"] }
# FIXME: bytemuck 1.24 fails to compile on 1.88
bytemuck = { version = "=1.23.2", default-features = false }
itertools = { workspace = true, features = ["use_alloc"] }
log = { workspace = true }
# FIXME: bytemuck 1.24 fails to compile on 1.87
bytemuck = { version = "=1.23.2", default-features = false }
ndarray = { workspace = true, features = ["std"] }
numcodecs = { workspace = true }
num-traits = { workspace = true, features = ["std"] }
Expand Down
2 changes: 1 addition & 1 deletion codecs/fourier-network/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
[CI Status]: https://img.shields.io/github/actions/workflow/status/juntyr/numcodecs-rs/ci.yml?branch=main
[workflow]: https://github.com/juntyr/numcodecs-rs/actions/workflows/ci.yml?query=branch%3Amain

[MSRV]: https://img.shields.io/badge/MSRV-1.87.0-blue
[MSRV]: https://img.shields.io/badge/MSRV-1.88.0-blue
[repo]: https://github.com/juntyr/numcodecs-rs

[Latest Version]: https://img.shields.io/crates/v/numcodecs-fourier-network
Expand Down
8 changes: 6 additions & 2 deletions codecs/fourier-network/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
//! [CI Status]: https://img.shields.io/github/actions/workflow/status/juntyr/numcodecs-rs/ci.yml?branch=main
//! [workflow]: https://github.com/juntyr/numcodecs-rs/actions/workflows/ci.yml?query=branch%3Amain
//!
//! [MSRV]: https://img.shields.io/badge/MSRV-1.87.0-blue
//! [MSRV]: https://img.shields.io/badge/MSRV-1.88.0-blue
//! [repo]: https://github.com/juntyr/numcodecs-rs
//!
//! [Latest Version]: https://img.shields.io/crates/v/numcodecs-fourier-network
Expand Down Expand Up @@ -46,7 +46,7 @@ use schemars::{JsonSchema, Schema, SchemaGenerator, json_schema};
use serde::{Deserialize, Deserializer, Serialize, Serializer};
use thiserror::Error;

// FIXME: bytemuck 1.24 fails to compile on 1.87
// FIXME: bytemuck 1.24 fails to compile on 1.88
use ::bytemuck as _;

// FIXME: burn-common -> cubecl-common brings in wasm-bindgen
Expand Down Expand Up @@ -222,6 +222,10 @@ impl<'de> Deserialize<'de> for Positive<f64> {
}

impl JsonSchema for Positive<f64> {
fn inline_schema() -> bool {
true
}

fn schema_name() -> Cow<'static, str> {
Cow::Borrowed("PositiveF64")
}
Expand Down
2 changes: 1 addition & 1 deletion codecs/fourier-network/tests/config.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#![expect(missing_docs)]
#![expect(missing_docs, clippy::unwrap_used)]

use numcodecs::StaticCodec;
use numcodecs_fourier_network::FourierNetworkCodec;
Expand Down
1 change: 1 addition & 0 deletions codecs/fourier-network/tests/schema.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ fn schema() {
.to_value()
);

#[expect(clippy::manual_assert, clippy::panic)]
if schema != include_str!("schema.json") {
panic!("FourierNetwork schema has changed\n===\n{schema}\n===");
}
Expand Down
2 changes: 1 addition & 1 deletion codecs/identity/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
[CI Status]: https://img.shields.io/github/actions/workflow/status/juntyr/numcodecs-rs/ci.yml?branch=main
[workflow]: https://github.com/juntyr/numcodecs-rs/actions/workflows/ci.yml?query=branch%3Amain

[MSRV]: https://img.shields.io/badge/MSRV-1.87.0-blue
[MSRV]: https://img.shields.io/badge/MSRV-1.88.0-blue
[repo]: https://github.com/juntyr/numcodecs-rs

[Latest Version]: https://img.shields.io/crates/v/numcodecs-identity
Expand Down
2 changes: 1 addition & 1 deletion codecs/identity/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
//! [CI Status]: https://img.shields.io/github/actions/workflow/status/juntyr/numcodecs-rs/ci.yml?branch=main
//! [workflow]: https://github.com/juntyr/numcodecs-rs/actions/workflows/ci.yml?query=branch%3Amain
//!
//! [MSRV]: https://img.shields.io/badge/MSRV-1.87.0-blue
//! [MSRV]: https://img.shields.io/badge/MSRV-1.88.0-blue
//! [repo]: https://github.com/juntyr/numcodecs-rs
//!
//! [Latest Version]: https://img.shields.io/crates/v/numcodecs-identity
Expand Down
2 changes: 1 addition & 1 deletion codecs/jpeg2000/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
[CI Status]: https://img.shields.io/github/actions/workflow/status/juntyr/numcodecs-rs/ci.yml?branch=main
[workflow]: https://github.com/juntyr/numcodecs-rs/actions/workflows/ci.yml?query=branch%3Amain

[MSRV]: https://img.shields.io/badge/MSRV-1.87.0-blue
[MSRV]: https://img.shields.io/badge/MSRV-1.88.0-blue
[repo]: https://github.com/juntyr/numcodecs-rs

[Latest Version]: https://img.shields.io/crates/v/numcodecs-jpeg2000
Expand Down
2 changes: 1 addition & 1 deletion codecs/jpeg2000/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
//! [CI Status]: https://img.shields.io/github/actions/workflow/status/juntyr/numcodecs-rs/ci.yml?branch=main
//! [workflow]: https://github.com/juntyr/numcodecs-rs/actions/workflows/ci.yml?query=branch%3Amain
//!
//! [MSRV]: https://img.shields.io/badge/MSRV-1.87.0-blue
//! [MSRV]: https://img.shields.io/badge/MSRV-1.88.0-blue
//! [repo]: https://github.com/juntyr/numcodecs-rs
//!
//! [Latest Version]: https://img.shields.io/crates/v/numcodecs-jpeg2000
Expand Down
2 changes: 1 addition & 1 deletion codecs/jpeg2000/tests/config.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#![expect(missing_docs)]
#![expect(missing_docs, clippy::unwrap_used)]

use ::{
log as _, ndarray as _, num_traits as _, numcodecs_jpeg2000::Jpeg2000CompressionMode,
Expand Down
1 change: 1 addition & 0 deletions codecs/jpeg2000/tests/schema.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ fn schema() {
.to_value()
);

#[expect(clippy::manual_assert, clippy::panic)]
if schema != include_str!("schema.json") {
panic!("Jpeg2000 schema has changed\n===\n{schema}\n===");
}
Expand Down
2 changes: 1 addition & 1 deletion codecs/lc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
[CI Status]: https://img.shields.io/github/actions/workflow/status/juntyr/numcodecs-rs/ci.yml?branch=main
[workflow]: https://github.com/juntyr/numcodecs-rs/actions/workflows/ci.yml?query=branch%3Amain

[MSRV]: https://img.shields.io/badge/MSRV-1.87.0-blue
[MSRV]: https://img.shields.io/badge/MSRV-1.88.0-blue
[repo]: https://github.com/juntyr/numcodecs-rs

[Latest Version]: https://img.shields.io/crates/v/numcodecs-lc
Expand Down
8 changes: 7 additions & 1 deletion codecs/lc/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
//! [CI Status]: https://img.shields.io/github/actions/workflow/status/juntyr/numcodecs-rs/ci.yml?branch=main
//! [workflow]: https://github.com/juntyr/numcodecs-rs/actions/workflows/ci.yml?query=branch%3Amain
//!
//! [MSRV]: https://img.shields.io/badge/MSRV-1.87.0-blue
//! [MSRV]: https://img.shields.io/badge/MSRV-1.88.0-blue
//! [repo]: https://github.com/juntyr/numcodecs-rs
//!
//! [Latest Version]: https://img.shields.io/crates/v/numcodecs-lc
Expand Down Expand Up @@ -75,6 +75,7 @@ fn deserialize_components<'de, D: Deserializer<'de>>(
#[derive(Clone, Debug, PartialEq, Serialize, Deserialize, JsonSchema)]
#[serde(deny_unknown_fields)]
#[serde(tag = "id")]
#[schemars(inline)]
/// LC preprocessor
pub enum LcPreprocessor {
#[serde(rename = "NUL")]
Expand Down Expand Up @@ -118,6 +119,7 @@ impl LcPreprocessor {
#[derive(
Copy, Clone, Debug, PartialEq, Eq, PartialOrd, Ord, Hash, Serialize, Deserialize, JsonSchema,
)]
#[schemars(inline)]
/// LC error bound kind
pub enum LcErrorKind {
/// pointwise absolute error bound
Expand Down Expand Up @@ -145,6 +147,7 @@ impl LcErrorKind {
#[derive(
Copy, Clone, Debug, PartialEq, Eq, PartialOrd, Ord, Hash, Serialize, Deserialize, JsonSchema,
)]
#[schemars(inline)]
/// LC quantisation decorrelation mode
pub enum LcDecorrelation {
#[serde(rename = "0")]
Expand All @@ -166,6 +169,7 @@ impl LcDecorrelation {
#[derive(
Copy, Clone, Debug, PartialEq, Eq, PartialOrd, Ord, Hash, Serialize, Deserialize, JsonSchema,
)]
#[schemars(inline)]
/// LC Lorenzo preprocessor dtype
pub enum LcLorenzoDtype {
#[serde(rename = "i32")]
Expand All @@ -184,6 +188,7 @@ impl LcLorenzoDtype {
#[derive(
Copy, Clone, Debug, PartialEq, Eq, PartialOrd, Ord, Hash, Serialize, Deserialize, JsonSchema,
)]
#[schemars(inline)]
/// LC quantization dtype
pub enum LcQuantizeDType {
#[serde(rename = "f32")]
Expand All @@ -207,6 +212,7 @@ impl LcQuantizeDType {
)]
#[serde(deny_unknown_fields)]
#[serde(tag = "id")]
#[schemars(inline)]
/// LC component
pub enum LcComponent {
#[serde(rename = "NUL")]
Expand Down
Loading
Loading