dlt-core 0.20.2

Parser and writer for autosar DLT Diagnostic Log and Trace
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
name = "dlt-core"
version = "0.20.2"
authors = ["esrlabs.com"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = """
Parser and writer for autosar DLT Diagnostic Log and Trace
"""
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/esrlabs/dlt-core"

[features]
debug = []
default = []
fibex = ["dep:quick-xml"]
serialization = [
    "dep:serde",
    "dep:serde_json",
]
statistics = ["dep:rustc-hash"]
stream = []

[lib]
name = "dlt_core"
path = "src/lib.rs"

[[example]]
name = "dlt_statistics"
path = "examples/dlt_statistics.rs"
required-features = ["statistics"]

[[example]]
name = "file_parser"
path = "examples/file_parser.rs"

[[example]]
name = "file_streamer"
path = "examples/file_streamer.rs"
required-features = ["stream"]

[[bench]]
name = "dlt_benchmarks"
path = "benches/dlt_benchmarks.rs"
harness = false

[dependencies.byteorder]
version = "1.4"

[dependencies.bytes]
version = "1.0"

[dependencies.futures]
version = "0.3"

[dependencies.log]
version = "0.4"

[dependencies.memchr]
version = "2.4"

[dependencies.nom]
version = "7.1"

[dependencies.quick-xml]
version = "0.29"
optional = true

[dependencies.rustc-hash]
version = "2.1"
optional = true

[dependencies.serde]
version = "1.0"
features = ["derive"]
optional = true

[dependencies.serde_json]
version = "1.0"
optional = true

[dependencies.thiserror]
version = "1.0"

[dev-dependencies.criterion]
version = "0.4"
features = ["html_reports"]

[dev-dependencies.dirs]
version = "4.0"

[dev-dependencies.env_logger]
version = "0.10"

[dev-dependencies.pretty_assertions]
version = "1.3"

[dev-dependencies.proptest]
version = "1.6"

[dev-dependencies.proptest-derive]
version = "0.5"

[dev-dependencies.tokio]
version = "1"
features = [
    "fs",
    "rt-multi-thread",
    "macros",
]

[dev-dependencies.tokio-util]
version = "0.7"
features = ["compat"]

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(tarpaulin_include)"]