| Crates.io | why2025-badge-sys |
| lib.rs | why2025-badge-sys |
| version | 0.2.0 |
| created_at | 2025-08-11 16:30:38.41137+00 |
| updated_at | 2025-08-11 21:17:41.57448+00 |
| description | Bindings to the built-in functions of the WHY2025 badge |
| homepage | |
| repository | https://github.com/zebreus/why2025-badge-rust |
| max_upload_size | |
| id | 1790406 |
| size | 230,941 |
Raw bindings to the functions exported by the WHY2025 badge
#![no_std]
unsafe {
why2025_badge_sys::printf(b"Hello, world!\n\0".as_ptr());
}
The bindings are autogenerated from the headers present in the firmware, so they are not exactly idiomatic rust.
The symbols definitely need more documentation. If you want to add some, please add it to the C code in the firmware repository, it will get picked up when rebuilding lib.rshift