# 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.81" name = "mcp3424" version = "0.3.0" authors = ["Elmar Schug "] build = false include = [ "**/*.rs", "Cargo.toml", "README.md", "CHANGELOG.md", "LICENSE", "rust-toolchain.toml", ] autobins = false autoexamples = false autotests = false autobenches = false description = "Async Rust driver for the MCP3422/3/4 ADC." documentation = "https://docs.rs/mcp3424" readme = "README.md" keywords = [ "mcp3424", "driver", "adc", "async", "embedded", ] categories = [ "embedded", "no-std", "asynchronous", ] license = "Apache-2.0" repository = "https://github.com/kKdH/mcp3424-rs" [package.metadata.docs.rs] all-features = true [lib] name = "mcp3424" path = "src/lib.rs" [dependencies.defmt] version = "0.3.*" optional = true default-features = false [dependencies.embedded-hal-async] version = "1.*" [dependencies.futures] version = "0.3.*" optional = true default-features = false [dependencies.uom] version = "0.36.*" features = [ "f32", "si", ] optional = true default-features = false [dev-dependencies.async-std] version = "1.13.*" features = ["attributes"] [dev-dependencies.embedded-hal-mock] version = "0.11.*" features = [ "eh1", "embedded-hal-async", ] [dev-dependencies.googletest] version = "0.12.*" [dev-dependencies.rstest] version = "0.23.*" [features] default = ["fmt"] defmt = ["dep:defmt"] fmt = [] stream = ["dep:futures"] uom = ["dep:uom"]