Skip to content

Commit 4f7bed1

Browse files
committed
Revive examples build
1 parent b3a9bc2 commit 4f7bed1

File tree

4 files changed

+12
-3
lines changed

4 files changed

+12
-3
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66

77
## [Unreleased]
88

9+
## [0.19.1] - 2025-02-06
10+
### Changed
11+
- Made examples build and run via cargo
12+
913
## [0.19.0] - 2025-02-06
1014
### Changed
1115
- Made fibex parsing a separate feature

Cargo.toml

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "dlt-core"
3-
version = "0.19.0"
3+
version = "0.19.1"
44
authors = ["esrlabs.com"]
55
edition = "2021"
66
description = """
@@ -35,6 +35,7 @@ serde-support = [
3535
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin_include)'] }
3636

3737
[dev-dependencies]
38+
buf_redux = "0.8.4"
3839
criterion = { version = "0.4", features = ["html_reports"] }
3940
dirs = "4.0"
4041
env_logger = "0.10"
@@ -45,3 +46,7 @@ proptest-derive = "0.5"
4546
[[bench]]
4647
name = "dlt_benchmarks"
4748
harness = false
49+
50+
[[example]]
51+
name = "file_parser"
52+
path = "examples/file_parser.rs"

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ fn main() {
6363

6464
The parser is quite fast. Parsing a 4.8 GByte DLT file that contains over 3.5 mio messages took ~37 seconds (~134MB/sec)
6565

66-
This example can be built with `cargo build --example file_parser --release`
66+
This example can be built with `cargo run --example file_parser --release`
6767

6868
```rust
6969
...
@@ -141,4 +141,4 @@ Below is the revised and improved English version of the documentation:
141141

142142
- **`debug_parser`**: Adds additional log output for debugging purposes.
143143

144-
- **`serde-support`**: Adds `Serialize` and `Deserialize` implementations (via `serde`) to all public types. This feature is useful if you need to encode or decode these types for transmission or storage.
144+
- **`serde-support`**: Adds `Serialize` and `Deserialize` implementations (via `serde`) to all public types. This feature is useful if you need to encode or decode these types for transmission or storage.
File renamed without changes.

0 commit comments

Comments
 (0)