sunspec 0.9.1

SunSpec 1.1 compliant library with tokio support
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.76"
name = "sunspec"
version = "0.9.1"
authors = ["Michael P. Jung <michael.jung@terreon.de>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "SunSpec 1.1 compliant library with tokio support"
readme = "README.md"
keywords = [
    "sunspec",
    "models",
    "generated",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/bikeshedder/sunspec"

[features]
all-models = [
    "model1",
    "model2",
    "model3",
    "model4",
    "model5",
    "model6",
    "model7",
    "model8",
    "model9",
    "model10",
    "model11",
    "model12",
    "model13",
    "model14",
    "model15",
    "model16",
    "model17",
    "model18",
    "model19",
    "model101",
    "model102",
    "model103",
    "model111",
    "model112",
    "model113",
    "model120",
    "model121",
    "model122",
    "model123",
    "model124",
    "model125",
    "model126",
    "model127",
    "model128",
    "model129",
    "model130",
    "model131",
    "model132",
    "model133",
    "model134",
    "model135",
    "model136",
    "model137",
    "model138",
    "model139",
    "model140",
    "model141",
    "model142",
    "model143",
    "model144",
    "model145",
    "model160",
    "model201",
    "model202",
    "model203",
    "model204",
    "model211",
    "model212",
    "model213",
    "model214",
    "model220",
    "model302",
    "model303",
    "model304",
    "model305",
    "model306",
    "model307",
    "model308",
    "model401",
    "model402",
    "model403",
    "model404",
    "model501",
    "model502",
    "model601",
    "model701",
    "model702",
    "model703",
    "model704",
    "model705",
    "model706",
    "model707",
    "model708",
    "model709",
    "model710",
    "model711",
    "model712",
    "model713",
    "model714",
    "model715",
    "model801",
    "model802",
    "model803",
    "model804",
    "model805",
    "model806",
    "model807",
    "model808",
    "model809",
    "model63001",
    "model63002",
    "model64001",
    "model64020",
    "model64101",
    "model64111",
    "model64112",
    "model64410",
    "model64411",
    "model64412",
    "model64413",
    "model64414",
    "model64415",
]
default = [
    "tokio-modbus",
    "all-models",
]
model1 = []
model10 = []
model101 = []
model102 = []
model103 = []
model11 = []
model111 = []
model112 = []
model113 = []
model12 = []
model120 = []
model121 = []
model122 = []
model123 = []
model124 = []
model125 = []
model126 = []
model127 = []
model128 = []
model129 = []
model13 = []
model130 = []
model131 = []
model132 = []
model133 = []
model134 = []
model135 = []
model136 = []
model137 = []
model138 = []
model139 = []
model14 = []
model140 = []
model141 = []
model142 = []
model143 = []
model144 = []
model145 = []
model15 = []
model16 = []
model160 = []
model17 = []
model18 = []
model19 = []
model2 = []
model201 = []
model202 = []
model203 = []
model204 = []
model211 = []
model212 = []
model213 = []
model214 = []
model220 = []
model3 = []
model302 = []
model303 = []
model304 = []
model305 = []
model306 = []
model307 = []
model308 = []
model4 = []
model401 = []
model402 = []
model403 = []
model404 = []
model5 = []
model501 = []
model502 = []
model6 = []
model601 = []
model63001 = []
model63002 = []
model64001 = []
model64020 = []
model64101 = []
model64111 = []
model64112 = []
model64410 = []
model64411 = []
model64412 = []
model64413 = []
model64414 = []
model64415 = []
model7 = []
model701 = []
model702 = []
model703 = []
model704 = []
model705 = []
model706 = []
model707 = []
model708 = []
model709 = []
model710 = []
model711 = []
model712 = []
model713 = []
model714 = []
model715 = []
model8 = []
model801 = []
model802 = []
model803 = []
model804 = []
model805 = []
model806 = []
model807 = []
model808 = []
model809 = []
model9 = []
serde = [
    "dep:serde",
    "bitflags/serde",
]
tokio = [
    "dep:tokio",
    "tokio/time",
]
tokio-modbus = [
    "dep:tokio-modbus",
    "tokio",
]

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

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

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

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

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

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

[dependencies.bitflags]
version = "2.6.0"

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

[dependencies.strum]
version = "0.28"
features = ["derive"]

[dependencies.thiserror]
version = "2.0.6"

[dependencies.tokio]
version = "1.40.0"
optional = true
default-features = false

[dependencies.tokio-modbus]
version = "0.17"
optional = true

[dev-dependencies.serde_json]
version = "1.0.114"