#bindings #pair #libnvpair #nvpair

sys stone-libnvpair-sys

libnvpair FFI bindings

1 unstable release

0.2.0 Sep 14, 2022

#7 in #nvpair

46 downloads per month
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

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.


lib.rs:

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

Dependencies

~0–2MB
~40K SLoC