| Crates.io | tosca-drivers |
| lib.rs | tosca-drivers |
| version | 0.1.1 |
| created_at | 2026-01-03 23:11:13.520284+00 |
| updated_at | 2026-01-04 23:01:08.338928+00 |
| description | A library providing architecture-agnostic drivers for various sensors and devices. |
| homepage | |
| repository | https://github.com/ToscaLabs/tosca/tree/master/crates/tosca-drivers |
| max_upload_size | |
| id | 2020911 |
| size | 879,889 |
A Rust library crate providing architecture-agnostic drivers for various sensors and devices.
This crate currently includes drivers for:
All drivers are implemented using only the embedded-hal and
embedded-hal-async traits, making them compatible with any platform that
supports these abstractions.
For each driver, a short documentation is provided containing a description and
the wiring diagram in docs.
These diagrams were created using Fritzing, an open-source tool,
and the corresponding project files can be found in
fritzing.
You can enable only the sensors you need using Cargo features:
[dependencies]
tosca-drivers.version = "0.1.0"
tosca-drivers.default-features = false
tosca-drivers.features = ["bh1750", "dht22"] # only include needed drivers