zocalo 0.1.0

Tools for interfacing with python-Zocalo distributed systems
Documentation

Zocalo Compatibility Tools for Rust

Crates.io Docs.rs CI License

Support infrastructure for interacting with Zocalo systems from Rust.

Currently supports:

  • Loading configuration files and extracting data values from them, via a Configuration object, or constructing directly with environment defaults via the configuration::ExtractConfig trait e.g.

Usage example:

use crate::zocalo::ExtractConfig;

let rmq = zocalo::RabbitMQConfig::from_default_env().unwrap().unwrap();
println!("RabbitMQ hosts: {}", rmq.host.join(", "));