libubootenv-sys 0.1.0

FFI bindings to libubootenv
Documentation
  • Coverage
  • 77.78%
    7 out of 9 items documented0 out of 1 items with examples
  • Size
  • Source code size: 22.65 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.45 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 41s Average build duration of successful builds.
  • all releases: 41s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Repository
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • FrederikLauber

libubootenv-sys

Low-level Rust FFI bindings to the U-Boot environment library (libubootenv).

This crate exposes the raw C API for reading, writing, deleting, and iterating U-Boot environment variables. It is intended for Rust developers who need direct FFI access.


License

GPL-2.0-or-later. See the LICENSE file.


Features

  • libuboot_initialize – initialize environment context.
  • libuboot_get_env – read variable.
  • libuboot_set_env – set variable.
  • libuboot_del_env – delete variable.
  • libuboot_save – persist changes.
  • libuboot_get_next – iterate environment variables.
  • libuboot_exit – free context.

Installation

Add to your Cargo.toml:

[dependencies]

libubootenv-sys = "0.1"