#ipp #env-var #bindings #intel #declaration #mac #windows

ipp-headers-sys

rust-bindgen generated FFI declarations for IPP (part of ipp-sys Intel IPP bindings)

6 releases (3 breaking)

Uses old Rust 2015

0.4.3 Jul 11, 2019
0.4.2 Mar 18, 2019
0.3.0 Mar 28, 2018
0.2.0 Jan 4, 2018
0.1.0 Oct 3, 2017

#436 in Hardware support

Download history 54/week @ 2024-09-18 93/week @ 2024-09-25 84/week @ 2024-10-02 161/week @ 2024-10-09 144/week @ 2024-10-16 208/week @ 2024-10-23 200/week @ 2024-10-30 198/week @ 2024-11-06 123/week @ 2024-11-13 104/week @ 2024-11-20 328/week @ 2024-11-27 339/week @ 2024-12-04 247/week @ 2024-12-11 316/week @ 2024-12-18 329/week @ 2024-12-25 133/week @ 2025-01-01

1,085 downloads per month
Used in ipp-sys

MIT/Apache

5MB
190K SLoC

ipp-headers-sys - rust-bindgen generated FFI declarations for IPP

This crate is part of the ipp-sys Rust Intel IPP bindings. See ipp-sys for more information.

Regnerating the 2017 bindings:

# set IPPROOT env var on windows
"c:\Program Files (x86)\IntelSWTools\compilers_and_libraries_2017\windows\ipp\bin\ippvars.bat" intel64

# set IPPROOT env var on mac
source /opt/intel/compilers_and_libraries_2017/mac/bin/compilervars.sh -arch intel64 -platform mac

# On all platforms (use %IPPROOT% on Windows)
bindgen $IPPROOT/include/ipp.h --raw-line "pub use IppStatus::*;" --default-enum-style  "moduleconsts" --with-derive-partialeq --distrust-clang-mangling -o src/ipp_2017.rs

Regnerating the 2018 bindings:

# set IPPROOT env var on windows
"c:\Program Files (x86)\IntelSWTools\compilers_and_libraries_2018\windows\ipp\bin\ippvars.bat" intel64

# set IPPROOT env var on mac
source /opt/intel/compilers_and_libraries_2018/mac/bin/compilervars.sh -arch intel64 -platform mac

# On all platforms (use %IPPROOT% on Windows)
bindgen $IPPROOT/include/ipp.h --default-enum-style  "moduleconsts" --with-derive-partialeq --distrust-clang-mangling -o src/ipp_2018.rs

Regnerating the 2019 bindings:

# set IPPROOT env var on windows
"c:\Program Files (x86)\IntelSWTools\compilers_and_libraries_2019\windows\ipp\bin\ippvars.bat" intel64

# set IPPROOT env var on mac
source /opt/intel/compilers_and_libraries_2019/mac/bin/compilervars.sh -arch intel64 -platform mac

# On all platforms (use %IPPROOT% on Windows)
bindgen $IPPROOT/include/ipp.h --default-enum-style  "moduleconsts" --with-derive-partialeq --distrust-clang-mangling -o src/ipp_2019.rs

No runtime deps

Features