#libnvpair #pair #nvpair #low-level #interface #subset #intended

stone-libnvpair

Low-level libnvpair interface

1 unstable release

0.2.0 Sep 14, 2022

#6 in #nvpair

Download history 6/week @ 2024-02-20 11/week @ 2024-02-27 4/week @ 2024-03-12 3/week @ 2024-03-19 62/week @ 2024-03-26 17/week @ 2024-04-02

82 downloads per month
Used in nvpair-rs

MIT license

155KB
4K SLoC

C 3.5K SLoC // 0.2% comments Rust 458 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 mostly re-exports things from its -sys counterpart and adds very simple ergonomic helpers

Dependencies

~0.3–2.9MB
~59K SLoC