# 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 = "m-bus-parser" version = "0.0.15" authors = ["Michael Aebli"] build = false exclude = [ "/resources", "/tests", "examples", ] autobins = false autoexamples = false autotests = false autobenches = false description = "A library for parsing M-Bus frames" homepage = "https://maebli.github.io/" readme = "README.md" keywords = [ "m-bus", "parser", "parse", ] license = "MIT" repository = "https://github.com/maebli/m-bus-parser" [profile.release] opt-level = "z" lto = true codegen-units = 1 [profile.release.package.m-bus-parser-wasm-pack] opt-level = "s" [lib] name = "m_bus_parser" path = "src/lib.rs" [[bench]] name = "bench" path = "benches/bench.rs" harness = false [dependencies.arrayvec] version = "0.7.4" default-features = false [dependencies.bitflags] version = "2.4.2" [dependencies.prettytable-rs] version = "^0.10" optional = true [dependencies.serde] version = "1.0" features = ["derive"] optional = true [dependencies.serde_json] version = "1.0" optional = true [dependencies.serde_yaml] version = "0.9" optional = true [dev-dependencies.criterion] version = "0.5.1" features = ["html_reports"] [dev-dependencies.hex] version = "0.4" [dev-dependencies.serde] version = "1.0" [dev-dependencies.serde-xml-rs] version = "0.6.0" [dev-dependencies.serde_derive] version = "1.0" [dev-dependencies.walkdir] version = "2.5.0" [build-dependencies.bindgen] version = "0.70.0" [features] default = [] plaintext-before-extension = [] serde = [ "dep:serde", "arrayvec/serde", "bitflags/serde", ] std = [ "prettytable-rs", "serde_json", "serde_yaml", "serde", ] [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