# 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.78.0" name = "sma-proto" version = "1.0.1" authors = ["Max Maisel "] description = "A Rust implementation of the SMA Speedwire protocol" readme = "README.md" keywords = [ "SMA", "speedwire", ] categories = [ "encoding", "network-programming", "no-std", "parser-implementations", ] license = "AGPL-3.0-or-later" repository = "https://github.com/mmmaisel/sma-proto/" [package.metadata.docs.rs] all-features = true [lib] path = "src/lib.rs" [dependencies.byteorder] version = "1.5" default-features = false [dependencies.heapless] version = "0.8.0" [dependencies.socket2] version = "0.5.7" optional = true [dependencies.tokio] version = "1.38.0" features = [ "macros", "net", "rt", "time", ] optional = true [features] client = [ "std", "dep:socket2", "dep:tokio", ] default = ["std"] std = ["byteorder/std"]