# 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 = "gx21m15" version = "0.1.1" authors = ["Ivan Li "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "A GX21M15 driver based on embedded-hal. Support `async` and `sync` features. " readme = "README.md" keywords = [ "temperature-sensor", "embedded-hal-driver", "no-std", "gx21m15", "async", ] license = "MIT OR Apache-2.0" repository = "https://github.com/IvanLi-CN/gx21m15-rs" [profile.dev] opt-level = 0 [profile.release] opt-level = "s" lto = "fat" codegen-units = 1 debug = 2 debug-assertions = false overflow-checks = false incremental = false [lib] name = "gx21m15" path = "src/lib.rs" [[test]] name = "basic" path = "tests/basic.rs" [dependencies.embedded-hal] version = "1.0.0" [dependencies.embedded-hal-async] version = "1.0.0" optional = true [dependencies.log] version = "0.4.22" [dependencies.maybe-async-cfg] version = "0.2.5" [features] async = ["dep:embedded-hal-async"]