#bindings #github #cross-platform #zfp #com-llnl-zfp #10 #cuda

sys zfp-sys-cc

Raw Rust bindings to ZFP (https://github.com/LLNL/zfp) with Microsoft Windows 10 support

6 releases

0.1.5 Oct 19, 2024
0.1.4 Jun 16, 2023
0.1.3 Sep 17, 2021
0.1.2 Oct 27, 2020
0.1.0 May 1, 2020

#423 in Compression

Download history 12/week @ 2024-07-29 26/week @ 2024-09-23 6/week @ 2024-09-30 127/week @ 2024-10-14 45/week @ 2024-10-21 2/week @ 2024-10-28 23/week @ 2024-11-04

197 downloads per month

MIT license

420KB
11K SLoC

C 5K SLoC // 0.1% comments C++ 4.5K SLoC // 0.0% comments FORTRAN Modern 1K SLoC CUDA 396 SLoC // 0.0% comments Cython 354 SLoC // 0.1% comments Rust 145 SLoC // 0.1% comments Shell 45 SLoC // 0.2% comments Python 14 SLoC

zfp-sys-cc

Raw Rust bindings to ZFP (https://github.com/LLNL/zfp) with Windows 10 support.

A cross-platform "cc"-based crate with Windows 10 support, as opposed to the "cmake"-based "zfp-sys" crate that only worked in Linux and macOS.

The build supports an optional compilation with CUDA support, i.e. place this in your Cargo.toml:

zfp-sys-cc = {version = "*", features = ["cuda"]}

Warning: the optional CUDA support in this crate has not been properly tested. Your mileage may vary.

No runtime deps

~0–2.1MB
~43K SLoC