Crates.io | kobo |
lib.rs | kobo |
version | 0.4.0 |
created_at | 2022-04-12 17:35:01.753696+00 |
updated_at | 2024-12-15 18:47:57.827679+00 |
description | A library for interacting with Kobo devices |
homepage | https://github.com/ewpratten/kobo-rs |
repository | https://github.com/ewpratten/kobo-rs |
max_upload_size | |
id | 566556 |
size | 82,058 |
kobo-rs
is a minimal Rust library for interacting with modified Kobo e-readers. This is designed for use in applications running on the Kobo, not over the network.
Since we are cross-compiling (please don't try compiling software on a Kobo), we need a few tools.
docker pull ewpratten/kobo-cross-armhf:latest
cargo install cross
With that out of the way, the library can be built with:
cross build --target arm-unknown-linux-musleabihf
You'll need to do these same steps with your own applications.
To build and run the display
example, you'll need to do the following:
cross build --target arm-unknown-linux-musleabihf --release --example display
Then, copy the binary to the Kobo's internal storage and execute the following command on the device:
/mnt/onboard/display