#entropy-coding #ccsds #aec

sys libaec-sys

Low-level bindings to Adaptive Entropy Coding library (libaec)

4 releases

0.1.3 Dec 23, 2025
0.1.2 Aug 5, 2025
0.1.1 Aug 4, 2025
0.1.0 Aug 3, 2025

#649 in Compression

Download history 71/week @ 2025-11-05 44/week @ 2025-11-12 72/week @ 2025-11-19 55/week @ 2025-11-26 65/week @ 2025-12-03 61/week @ 2025-12-10 135/week @ 2025-12-17 91/week @ 2025-12-24 96/week @ 2025-12-31 115/week @ 2026-01-07 123/week @ 2026-01-14 79/week @ 2026-01-21 47/week @ 2026-01-28 104/week @ 2026-02-04 181/week @ 2026-02-11 292/week @ 2026-02-18

641 downloads per month
Used in 2 crates

MIT/Apache

2.5MB
4K SLoC

C 3.5K SLoC // 0.1% comments Rust 120 SLoC // 0.1% comments Shell 109 SLoC // 0.1% comments Automake 65 SLoC C++ 34 SLoC // 0.1% comments

Contains (obscure autoconf code, 2KB) libaec-1.1.4/configure.ac

libaec-sys

docs Crates.io

This crate provides low-level bindings to Adaptive Entropy Coding library (libaec).

The description of libaec is as follows:

Libaec provides fast lossless compression of 1 up to 32 bit wide signed or unsigned integers (samples). The library achieves best results for low entropy data as often encountered in space imaging instrument data or numerical model output from weather or climate simulations. While floating point representations are not directly supported, they can also be efficiently coded by grouping exponents and mantissa.

Scope

Libaec implements extended Golomb-Rice coding as defined in the CCSDS recommended standard 121.0-B-3. The library covers the adaptive entropy coder and the preprocessor discussed in sections 1 to 5.2.6 of the standard.

License

This project is licensed under either of

at your option.

SPDX-License-Identifier: Apache-2.0 OR MIT

No runtime deps