mbus-kit 0.1.0

M-Bus and wireless M-Bus (EN 13757-2/-3/-4) for Rust: heat, water and gas meter readout with a sans-I/O, no_std, allocation-free core
Documentation
# 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 = "2024"
rust-version = "1.85"
name = "mbus-kit"
version = "0.1.0"
build = false
include = [
    "/src",
    "/examples",
    "/README.md",
    "/CHANGELOG.md",
    "/LICENSE-MIT",
    "/LICENSE-APACHE",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "M-Bus and wireless M-Bus (EN 13757-2/-3/-4) for Rust: heat, water and gas meter readout with a sans-I/O, no_std, allocation-free core"
homepage = "https://hupe1980.github.io/mbus-kit/"
documentation = "https://docs.rs/mbus-kit"
readme = "README.md"
keywords = [
    "mbus",
    "wmbus",
    "oms",
    "smart-meter",
    "metering",
]
categories = [
    "embedded",
    "encoding",
    "parser-implementations",
    "no-std",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/hupe1980/mbus-kit"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
cli = [
    "std",
    "oms",
]
default = ["std"]
oms = [
    "dep:aes",
    "dep:cbc",
    "dep:ccm",
    "dep:ctr",
    "dep:cmac",
    "dep:zeroize",
    "aes/zeroize",
    "cbc/zeroize",
    "ctr/zeroize",
    "cmac/zeroize",
]
std = []

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

[[bin]]
name = "mbus"
path = "src/bin/mbus.rs"
required-features = ["cli"]

[[example]]
name = "master"
path = "examples/master.rs"
required-features = ["std"]

[[example]]
name = "readout"
path = "examples/readout.rs"
required-features = ["std"]

[dependencies.aes]
version = "0.8"
optional = true
default-features = false

[dependencies.cbc]
version = "0.1"
optional = true
default-features = false

[dependencies.ccm]
version = "0.5"
optional = true
default-features = false

[dependencies.cmac]
version = "0.7"
optional = true
default-features = false

[dependencies.ctr]
version = "0.9"
optional = true
default-features = false

[dependencies.zeroize]
version = "1"
optional = true
default-features = false

[profile.release]
lto = true
codegen-units = 1
panic = "abort"