# 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.71.1" name = "emc2101" version = "0.4.1" authors = ["Georges Palauqui "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Platform-agnostic Rust driver for the EMC2101 temperature sensor and fan sensor/controler." documentation = "https://docs.rs/emc2101" readme = "README.md" keywords = [ "no-std", "embedded-hal-driver", "sensor", "temperature", "fan", ] categories = [ "embedded", "hardware-support", "no-std", ] license = "MIT OR Apache-2.0" repository = "https://github.com/Georges760/emc2101-rs" [lib] name = "emc2101" path = "src/lib.rs" [dependencies.defmt] version = "0.3" optional = true [dependencies.embedded-hal] version = "1.0" optional = true [dependencies.embedded-hal-async] version = "1.0" optional = true [dependencies.fugit] version = "0.3" [dependencies.heapless] version = "0.8" [dependencies.log] version = "0.4" optional = true [dependencies.maybe-async-cfg] version = "0.2" [dev-dependencies.embedded-hal-mock] version = "0.11.1" features = ["eh1"] default-features = false [features] async = ["dep:embedded-hal-async"] core-error = [] default = ["sync"] defmt-03 = [ "dep:defmt", "fugit/defmt", "heapless/defmt-03", ] sync = ["dep:embedded-hal"]