#libnvpair #nvpair #ffi #illumos

sys stone-libnvpair-sys

libnvpair FFI bindings

1 unstable release

0.2.0 Sep 14, 2022

#5 in #nvpair


Used in 2 crates (via stone-libnvpair)

MIT license

140KB
3.5K SLoC

C 3.5K SLoC // 0.2% comments Rust 107 SLoC // 0.0% comments

This module provides immediate bindings to libnvpair library. It is not intended for direct use, but rather serves as an FFI layer.


nvpair

A userland-only subset of illumos' libnvpair, intended to be portable to other systems.

What's that?

This library is safe rust bindings to nvpair Name/value pairs library

Installation

nvpair-rs is available on crates.io and can be included in your Cargo enabled project like this:

[dependencies]
nvpair-rs= "0.2.0"

Usage

Read the docs.

Dependencies

~0–2.2MB
~43K SLoC