[package]
edition = "2024"
rust-version = "1.87.0"
name = "solaredge-modbus"
version = "0.1.2"
authors = ["Pro <twisted.fall@gmail.com>"]
build = false
exclude = [
"/.github",
"/tools",
".gitignore",
"release.toml",
"rustfmt.toml",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "SolarEdge modbus client"
documentation = "https://docs.rs/solaredge-modbus"
readme = "README.md"
keywords = [
"solaredge",
"energy",
"solar",
"automation",
"home",
]
categories = [
"api-bindings",
"network-programming",
"asynchronous",
"hardware-support",
]
license = "LGPL-3.0"
repository = "https://github.com/twistedfall/solaredge-modbus"
[badges.maintenance]
status = "passively-maintained"
[features]
discover = [
"dep:mdns-sd",
"dep:async-timer",
]
[lib]
name = "solaredge_modbus"
path = "src/lib.rs"
[[test]]
name = "tests"
path = "tests/tests.rs"
[dependencies.async-timer]
version = "0.7"
optional = true
[dependencies.log]
version = "0.4"
[dependencies.mdns-sd]
version = "0.18"
optional = true
[dependencies.modbus]
version = "1"
[dev-dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"macros",
]
default-features = false