epics-ca-rs 0.8.2

EPICS Channel Access protocol client and server
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use epics_ca_rs::repeater::run_repeater;

#[tokio::main]
async fn main() {
    if let Err(e) = run_repeater().await {
        // Port already in use means another repeater is running — that's fine
        if e.kind() == std::io::ErrorKind::AddrInUse {
            return;
        }
        eprintln!("ca-repeater: {e}");
        std::process::exit(1);
    }
}