# 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 = "han" version = "0.2.0-alpha.0" description = "No-std implementation of the Swedish-Norwegian, P1-based smart power meter standard" keywords = [ "uart", "h1", "han", ] categories = [ "parser-implementations", "no-std", ] license = "MIT" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [dependencies.crc16] version = "0.4" [dependencies.defmt] version = "0.3" optional = true [dependencies.embedded-io-async] version = "0.6" optional = true [dependencies.time] version = "0.3" features = [ "parsing", "macros", ] default-features = false [dev-dependencies.tokio] version = "1.36.0" features = [ "macros", "rt", ] [features] defmt-03 = ["dep:defmt"] embedded-io-async = ["dep:embedded-io-async"] std = ["embedded-io-async/std"]