[[bench]]
harness = false
name = "bench"
path = "benches/bench.rs"
[build-dependencies.bindgen]
version = "0.71.1"
[dependencies.arrayvec]
default-features = false
version = "0.7.4"
[dependencies.bitflags]
version = "2.8.0"
[dependencies.defmt]
optional = true
version = "0.3.10"
[dependencies.prettytable-rs]
optional = true
version = "^0.10"
[dependencies.serde]
features = ["derive"]
optional = true
version = "1.0"
[dependencies.serde_json]
optional = true
version = "1.0.138"
[dependencies.serde_yaml]
optional = true
version = "0.9"
[dev-dependencies.criterion]
features = ["html_reports"]
version = "0.5.1"
[dev-dependencies.hex]
version = "0.4"
[dev-dependencies.serde]
version = "1.0.217"
[dev-dependencies.serde-xml-rs]
version = "0.6.0"
[dev-dependencies.serde_derive]
version = "1.0.217"
[dev-dependencies.walkdir]
version = "2.5.0"
[features]
default = []
defmt = ["dep:defmt"]
plaintext-before-extension = []
serde = ["dep:serde", "arrayvec/serde", "bitflags/serde"]
std = ["prettytable-rs", "serde_json", "serde_yaml", "serde"]
[lib]
name = "m_bus_parser"
path = "src/lib.rs"
[lints.clippy]
expect_used = "warn"
indexing_slicing = "warn"
panic = "warn"
unimplemented = "warn"
unwrap_in_result = "warn"
unwrap_used = "warn"
[lints.clippy.complexity]
level = "warn"
priority = -1
[lints.clippy.perf]
level = "warn"
priority = -1
[lints.clippy.style]
level = "warn"
priority = -1
[lints.clippy.suspicious]
level = "warn"
priority = -1
[package]
authors = ["Michael Aebli"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
description = "A library for parsing M-Bus frames"
edition = "2021"
exclude = ["/resources", "/tests", "examples"]
homepage = "https://maebli.github.io/"
keywords = ["m-bus", "parser", "parse"]
license = "MIT"
name = "m-bus-parser"
readme = "README.md"
repository = "https://github.com/maebli/m-bus-parser"
version = "0.0.21"
[profile.release]
codegen-units = 1
lto = true
opt-level = "z"
[profile.release.package.m-bus-parser-wasm-pack]
opt-level = "s"