# 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" name = "tokio-sunspec" version = "0.2.2" authors = ["Lukas Kirner "] description = "Tokio-based SunSpec library" homepage = "https://github.com/lukaskirner/tokio-sunspec" readme = "README.md" keywords = [ "fieldbus", "sunspec", "modbus", "hardware", "automation", ] license = "Apache-2.0" repository = "https://github.com/lukaskirner/tokio-sunspec" [package.metadata.docs.rs] all-features = true [dependencies.thiserror] version = "1.0.38" [dependencies.tokio-modbus] version = "0.7.1" features = [ "tcp", "rtu", "server", "tcp-server-unstable", ] optional = true default-features = false [dependencies.tokio-serial] version = "5.4.4" optional = true default-features = false [dev-dependencies.tokio] version = "1.26.0" features = ["time"] [features] default = [ "tcp", "rtu", ] rtu = [ "tokio-modbus/rtu", "dep:tokio-serial", ] tcp = ["tokio-modbus/tcp"]