#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

#398 in Hardware support

Download history 429/week @ 2024-07-22 112/week @ 2024-07-29 181/week @ 2024-08-05 106/week @ 2024-08-12 53/week @ 2024-08-19 45/week @ 2024-08-26 40/week @ 2024-09-02 49/week @ 2024-09-09 44/week @ 2024-09-16 99/week @ 2024-09-23 82/week @ 2024-09-30 133/week @ 2024-10-07 127/week @ 2024-10-14 192/week @ 2024-10-21 254/week @ 2024-10-28 150/week @ 2024-11-04

731 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