# Zocalo Compatibility Tools for Rust
[](https://crates.io/crates/zocalo)
[](https://docs.rs/zocalo)
[](https://github.com/ndevenish/zocalo-rs/actions)
[](https://crates.io/crates/zocalo)
Support infrastructure for interacting with
[Zocalo](https://github.com/diamondlightsource/python-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:
```rust
use crate::zocalo::ExtractConfig;
let rmq = zocalo::RabbitMQConfig::from_default_env().unwrap().unwrap();
println!("RabbitMQ hosts: {}", rmq.host.join(", "));
```