Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ jobs:
cargo hack check --all \
--exclude numcodecs-python \
--exclude numcodecs-jpeg2000 \
--exclude numcodecs-sperr \
--exclude numcodecs-sz3 \
--exclude numcodecs-tthresh \
--exclude numcodecs-zfp \
Expand Down Expand Up @@ -221,6 +222,7 @@ jobs:
cargo hack clippy --all \
--exclude numcodecs-python \
--exclude numcodecs-jpeg2000 \
--exclude numcodecs-sperr \
--exclude numcodecs-sz3 \
--exclude numcodecs-tthresh \
--exclude numcodecs-zfp \
Expand All @@ -236,6 +238,7 @@ jobs:
cargo hack clippy --all \
--exclude numcodecs-python \
--exclude numcodecs-jpeg2000 \
--exclude numcodecs-sperr \
--exclude numcodecs-sz3 \
--exclude numcodecs-tthresh \
--exclude numcodecs-zfp \
Expand Down
2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ members = [
"codecs/random-projection",
"codecs/reinterpret",
"codecs/round",
"codecs/sperr",
"codecs/swizzle-reshape",
"codecs/sz3",
"codecs/tthresh",
Expand Down Expand Up @@ -106,6 +107,7 @@ serde = { version = "1.0.218", 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.3", default-features = false }
sperr = { version = "0.1", default-features = false }
sz3 = { version = "0.3", default-features = false }
thiserror = { version = "2.0.12", default-features = false }
tthresh = { version = "0.1", default-features = false }
Expand Down
31 changes: 31 additions & 0 deletions codecs/sperr/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
[package]
name = "numcodecs-sperr"
version = "0.1.0"
edition = { workspace = true }
authors = { workspace = true }
repository = { workspace = true }
license = { workspace = true }
rust-version = { workspace = true }

description = "SPERR codec implementation for the numcodecs API"
readme = "README.md"
categories = ["compression", "encoding"]
keywords = ["SPERR", "numcodecs", "compression", "encoding"]

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
ndarray = { workspace = true, features = ["std"] }
numcodecs = { workspace = true }
num-traits = { workspace = true, features = ["std"] }
postcard = { workspace = true }
schemars = { workspace = true, features = ["derive", "preserve_order"] }
serde = { workspace = true, features = ["std", "derive"] }
sperr = { workspace = true }
thiserror = { workspace = true }

[dev-dependencies]
serde_json = { workspace = true, features = ["std"] }

[lints]
workspace = true
1 change: 1 addition & 0 deletions codecs/sperr/LICENSE
38 changes: 38 additions & 0 deletions codecs/sperr/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
[![CI Status]][workflow] [![MSRV]][repo] [![Latest Version]][crates.io] [![PyPi Release]][pypi] [![Rust Doc Crate]][docs.rs] [![Rust Doc Main]][docs] [![Read the Docs]][rtdocs]

[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.85.0-blue
[repo]: https://github.com/juntyr/numcodecs-rs

[Latest Version]: https://img.shields.io/crates/v/numcodecs-sperr
[crates.io]: https://crates.io/crates/numcodecs-sperr

[PyPi Release]: https://img.shields.io/pypi/v/numcodecs-wasm-sperr.svg
[pypi]: https://pypi.python.org/pypi/numcodecs-wasm-sperr

[Rust Doc Crate]: https://img.shields.io/docsrs/numcodecs-sperr
[docs.rs]: https://docs.rs/numcodecs-sperr/

[Rust Doc Main]: https://img.shields.io/badge/docs-main-blue
[docs]: https://juntyr.github.io/numcodecs-rs/numcodecs_sperr

[Read the Docs]: https://img.shields.io/readthedocs/numcodecs-wasm?label=readthedocs
[rtdocs]: https://numcodecs-wasm.readthedocs.io/en/stable/api/numcodecs_wasm_sperr/

# numcodecs-sperr

SPERR codec implementation for the [`numcodecs`] API.

[`numcodecs`]: https://docs.rs/numcodecs/0.2/numcodecs/

## License

Licensed under the Mozilla Public License, Version 2.0 ([LICENSE](LICENSE) or https://www.mozilla.org/en-US/MPL/2.0/).

## Funding

The `numcodecs-sperr` crate has been developed as part of [ESiWACE3](https://www.esiwace.eu), the third phase of the Centre of Excellence in Simulation of Weather and Climate in Europe.

Funded by the European Union. This work has received funding from the European High Performance Computing Joint Undertaking (JU) under grant agreement No 101093054.
Loading
Loading