rustio rustio.net
43

switch-hal

v0.4.0 Growing

HAL and basic implementations for input and output switches (buttons, switches, leds, transistors)

MIT OR Apache-2.0 Edition 2018
Hardware supportEmbedded developmentNo standard library #led#button#embedded-hal#embedded-hal-driver

Quick Verdict

  • โœ•Not updated for 4+ years
  • !Pre-1.0: API may have breaking changes
  • โœ“Tiny footprint (11KB, 1 deps)
  • โœ“Permissive license (MIT OR Apache-2.0)

Security

Checking security advisories...
Downloads
91.4K
Dependents
28
Releases
9
Size
11KB

Deep Insights

๐Ÿ“Š
Stable downloads

2.9K downloads in the last 30 days (96/day). Volume is roughly flat compared to the previous period.

๐Ÿ”ฌ
Pre-1.0 for over a year

Despite being 6+ years old, switch-hal hasn't reached 1.0 yet. Expect potential API changes between versions.

๐Ÿชถ
Minimal dependencies

Only 1 direct dependencies. Lean dependency tree means faster builds and lower supply chain risk.

๐Ÿ“
Compact crate

At 11KB, switch-hal is lightweight. Small crate size correlates with focused, well-scoped functionality.

โš ๏ธ
Notable yanked versions

11% of releases have been yanked. Check version history before pinning.

๐ŸŒŸ
Used by top crates

Notable dependents include riot-wrappers, stm32f3-discovery, embedded-controls, sdmmc-spi, nucleo-f446re. When high-quality crates choose switch-hal, it's a strong quality signal.

Health Breakdown

Maintenance 4/25

Recency, release consistency, active ratio

Quality 11/25

Yanked ratio, deps, size, maturity, features

Community 10/20

Reverse deps, ownership, ecosystem

Popularity 6/15

Downloads, momentum, growth trend

Documentation 12/15

Docs, repo, license, metadata

Download Trend

Daily downloads ยท last 90 days
90/day avg+20%
05010015020025012/291/162/32/213/113/28

Top Dependents

Version Adoption

v0.4.0
80%
v0.3.3
9%
v0.3.2
8%
v0.3.1
1%
v0.2.1
1%

Release Timeline

9 releases1 yankedsince 2020
J
F
M
A
M
J
J
A
S
O
N
D
2020
7
2021
2
2022
2023
2024
2025
2026
Less
More|
Yanked

README

Loading README...

Maintainers

Dependencies
1
direct dependencies
Dependents
28
crates depend on switch-hal

Similar Crates