1 unstable release

0.1.0 Mar 24, 2019

#39 in #declaration


Used in libspnav

BSD-3-Clause

34KB
1K SLoC

C 779 SLoC // 0.1% comments Rust 260 SLoC Shell 2 SLoC

libspnav-sys

crates.io

The libspnav-sys crate provides declarations and linkage for the libspnav C library. Following the *-sys package conventions, the libspnav-sys crate does not define higher-level abstractions over the native libspnav library functions.

Versions

This crate currently builds and links against libspnav v0.2.3.

bindgen 0.48.1 was used to generate the bindings.

Dependencies

This crate makes use of cc to compile spnav.c, therfore a working C compiler useable by cc is required.

Limitations

Bindings are currently only provided for spnav.h with USE_X11 disabled. X11 support (including spnav_magellon.h) will be considered in the future.

No runtime deps

~0–280KB