# 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 = "button-driver" version = "0.2.2" authors = [ "maxwase", "Max T ", ] build = false exclude = [".*"] autobins = false autoexamples = false autotests = false autobenches = false description = "Advanced button handling crate" readme = "README.md" keywords = [ "embedded", "button", "no_std", "esp32", "switch", ] categories = ["embedded"] license = "MIT" repository = "https://github.com/maxwase/button-driver" [package.metadata.docs.rs] features = ["std"] [lib] name = "button_driver" path = "src/lib.rs" [dependencies.embassy-time] version = "0.3.2" optional = true [dependencies.embedded-hal] version = "1.0.0" optional = true [dependencies.embedded-hal-old] version = "0.2.7" optional = true package = "embedded-hal" [dev-dependencies.parking_lot] version = "0.12.3" [features] embassy = ["dep:embassy-time"] embedded_hal = ["dep:embedded-hal"] embedded_hal_old = [ "dep:embedded-hal-old", "embedded-hal-old/unproven", ] esp = ["dep:embedded-hal"] std = []