# 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 = "sml-rs" version = "0.4.0" authors = ["Felix Wirth "] description = "Smart Message Language (SML) parser written in Rust" readme = "README.md" license = "MIT OR Apache-2.0" repository = "https://github.com/felixwrt/sml-rs" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [profile.dev.package.insta] opt-level = 3 [profile.dev.package.similar] opt-level = 3 [[example]] name = "decoder" path = "examples/decoder.rs" required-features = ["std"] [[example]] name = "decoder-streaming" path = "examples/decoder_streaming.rs" required-features = ["std"] [dependencies.crc] version = "3.0.0" [dependencies.embedded-hal] version = "0.2.7" optional = true [dependencies.nb] version = "1.1.0" optional = true [dev-dependencies.hex] version = "0.4.3" [dev-dependencies.hex-literal] version = "0.4.1" [dev-dependencies.insta] version = "1.21.0" features = [ "yaml", "glob", ] [features] alloc = [] default = ["std"] embedded_hal = [ "nb", "embedded-hal", ] std = ["alloc"]