# 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 = "sw3526" version = "0.2.1" authors = ["Ivan Li "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "A SW3526 driver based on [embedded-hal](https://crates.io/crates/embedded-hal). Support `async` and `sync` features." readme = "README.md" keywords = [ "embedded", "hal", "i2c", "sw3526", "async", ] license = "MIT" repository = "https://github.com/IvanLi-CN/sw3526-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 = "sw3526" path = "src/lib.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.4" [dependencies.num_enum] version = "0.7.3" default-features = false [dev-dependencies.embedded-hal-mock] version = "0.11.1" features = ["embedded-hal-async"] [features] async = ["dep:embedded-hal-async"]