[package]
edition = "2024"
name = "butt-head"
version = "0.2.0"
authors = ["Esben Dueholm Nørgaard"]
build = false
exclude = [
"examples/",
"tools/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A no_std button input processing library for embedded systems"
documentation = "https://docs.rs/butt-head"
readme = "README.md"
keywords = [
"embedded",
"button",
"switch",
"no-std",
]
categories = [
"embedded",
"no-std",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/HybridChild/butt-head"
[features]
default = []
defmt = ["dep:defmt"]
[lib]
name = "butt_head"
path = "src/lib.rs"
[[test]]
name = "click_tests"
path = "tests/click_tests.rs"
[[test]]
name = "hold_tests"
path = "tests/hold_tests.rs"
[[test]]
name = "state_query_tests"
path = "tests/state_query_tests.rs"
[dependencies.defmt]
version = "1.0.1"
optional = true