syslog_rfc3164

Crates.iosyslog_rfc3164
lib.rssyslog_rfc3164
version0.1.0
sourcesrc
created_at2017-12-26 13:48:12.55716
updated_at2017-12-26 13:48:12.55716
descriptionParser for RFC3164 (IETF-format) syslog messages
homepagehttps://github.com/tureus/rust-syslog-rfc3164
repositoryhttps://github.com/tureus/rust-syslog-rfc3164
max_upload_size
id44451
size29,964
Xavier Lange (xrl)

documentation

README

This module implements an RFC 3164 IETF Syslog Protocol parser in Rust. The code is a modified fork of the Roguelazer's more complex 5424 parser.

Build Status

Documentation

This tool supports serializing the parsed messages using serde.

Performance

On a recent system1, a release build takes approximately 8µs to parse an average message and approximately 300ns to parse the smallest legal message. Debug timings are a bit worse -- about 60µs for an average message and about 8µs for the minimal message. A single-threaded Syslog server should be able to parse at least 100,000 messages/s, as long as you run a separate thread for the parser.

Commit count: 0

cargo fmt