/ubus-rs

OpenWRT ubus client library in pure Rust

Primary LanguageRustBSD 2-Clause "Simplified" LicenseBSD-2-Clause

ubus (Rust)

Work in progress

This is a pure Rust library for implementing OpenWRT ubus clients.

Goals

  • Minimal bloat
  • Few dependencies
  • Zero allocations inside main code
  • no_std where possible
  • Don't panic!

Supported

  • Unix-Domain-Socket + Type-Length-Value protocol support
  • blob TLV format support
  • High-level abstraction for lookup command

TODO

  • High level abstraction for call command
  • High level abstraction for subscribe/unsubscribe commands
  • High level support for network interface objects
  • HTTP(S) + JSON protocol support