| Crates.io | syslog_rfc5424 |
| lib.rs | syslog_rfc5424 |
| version | 0.10.0 |
| created_at | 2016-02-23 00:54:32.40774+00 |
| updated_at | 2025-11-11 16:16:17.881645+00 |
| description | Parser for RFC5424 (IETF-format) syslog messages |
| homepage | https://github.com/Roguelazer/rust-syslog-rfc5424 |
| repository | https://github.com/Roguelazer/rust-syslog-rfc5424 |
| max_upload_size | |
| id | 4253 |
| size | 58,701 |
This module implements an RFC 5424 IETF Syslog Protocol parser in Rust.
This tool supports serializing the parsed messages using serde if it's built with the serde-serialize feature.
This library is licensed under the ISC license, a copy of which can be found in LICENSE.txt
The minimum supported Rust version for this library is 1.85.
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.
This compares very favorably to python syslog-rfc5424-parser2, which takes about 300µs for a minimal message, and more than 700µs for an average message.