yocto_client 0.1.0

Rust client for yocto
Documentation
  • Coverage
  • 54.55%
    6 out of 11 items documented0 out of 9 items with examples
  • Size
  • Source code size: 16.58 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 2.3 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 10s Average build duration of successful builds.
  • all releases: 10s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • alebeck/yocto-rust
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • alebeck

yocto-rust

Build Status Crates.io

Yocto client for rust.

Usage

Include yocto_client in your projects Cargo.toml with the version specified at crates.io. Then, use it as follows:

use yocto_client::Store;

let store = Store::new("127.0.0.1:7001").unwrap();

store.insert("key", "value").unwrap();

if let Some(value) = store.get("key").unwrap() {
    assert_eq!(value, "value");
} else {
    panic!("Key not found.");
}