[package] name = "sunspec" version = "0.8.0" edition = "2021" authors = ["Michael P. Jung "] description = "SunSpec 1.1 compliant library with tokio support" keywords = ["sunspec", "models", "generated"] license = "MIT OR Apache-2.0" repository = "https://github.com/bikeshedder/sunspec" readme = "README.md" rust-version = "1.76" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [features] default = ["tokio-modbus"] serde = ["dep:serde", "bitflags/serde"] tokio-modbus = ["dep:tokio-modbus", "tokio/time"] [dependencies] bitflags = "2.6.0" serde = { version = "1.0", features = ["derive"], optional = true } strum = { version = "0.26.0", features = ["derive"] } thiserror = "2.0.6" tokio = { version = "1.40.0", default-features = false, optional = true } tokio-modbus = { version = "0.16", optional = true } [dev-dependencies] serde_json = "1.0.114" [workspace] members = ["sunspec-gen", "examples/readme", "examples/model103"]