rustmod-core 0.2.0

Core Modbus protocol types, encoders, and frame codecs for rust-mod.
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 = "2021"
rust-version = "1.75"
name = "rustmod-core"
version = "0.2.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core Modbus protocol types, encoders, and frame codecs for rust-mod."
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/rbhans/rust-mod"

[features]
alloc = []
default = [
    "std",
    "alloc",
]
defmt = ["dep:defmt"]
serde = ["dep:serde"]
std = []

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

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

[[test]]
name = "golden_packets"
path = "tests/golden_packets.rs"

[[test]]
name = "properties"
path = "tests/properties.rs"

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

[dependencies.defmt]
version = "0.3"
optional = true

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

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

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