Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Autosar DLT Support
A library that support efficient parsing & writing log-messages encoded as Diagnositic Log and Trace messages.
Features / Functionality
- compliant with the official Autosar DLT specification
- efficiently parse binary DLT content
- serialize DLT messages
- support for non-verbose messages via FIBEX file information
Usage
Add this to your Cargo.toml:
[]
= "0.19"
This is an example of how to parse a message and serialize it back to a byte array.
use ;
Parser in action
The parser is quite fast. Parsing a 4.8 GByte DLT file that contains over 3.5 mio messages took ~12 seconds (~409 MB/sec)
The following example can be run with cargo run --example file_parser --release sample.dlt
use ;
use ;
use ;
const BIN_READER_CAPACITY: usize = 10 * 1024 * 1024;
const BIN_MIN_BUFFER_SPACE: usize = 10 * 1024;
empty content after 33554430 parsed messages
parsing 33554430 messages took 12.117s! (408.651 MB/s)
Below is the revised and improved English version of the documentation:
Crate's Features
-
statistics: Enables thestatisticsmodule, which scans the source data and provides a summary of its contents. This gives you an overview of the number of messages and their content. -
fibex_parser: Enables thefibexmodule, which allows to parse configurations for non-verbose messages from a fibex model. -
debug_parser: Adds additional log output for debugging purposes. -
serde-support: AddsSerializeandDeserializeimplementations (viaserde) to all public types. This feature is useful if you need to encode or decode these types for transmission or storage.
Example users
Fast DLT Log Viewing with chipmunk
chipmunk is a cross-platform log viewer that integrates dlt-core for lightning-fast parsing and display of DLT log files. With chipmunk, you can:
- Instantly search and filter log entries
- Highlight and save specific patterns
- Efficiently handle large log files without sacrificing performance
- Inspect (export and view) DLT attachments
If you’re looking for a user-friendly way to work with large DLT logs, give chipmunk a try!