hpfeeds 0.1.0

Hpfeeds3 protocol library
Documentation

hpfeeds

Honeynet Project generic authenticated datafeed protocol, Rust implementation

WIP

Only authenticate and publish are implemented.

Example

use std::error::Error;
use hpfeeds::Hpfeeds;

fn main() -> Result<(), Box<Error>> {
    let hpf = Hpfeeds::new("host.com", 10000, "hpname", "elongated_muskrat")?;
    hpf.publish_to("chan1", b"hp hit")?;
    Ok(())
}