kobo

Crates.iokobo
lib.rskobo
version
sourcesrc
created_at2022-04-12 17:35:01.753696
updated_at2024-12-15 18:47:57.827679
descriptionA library for interacting with Kobo devices
homepagehttps://github.com/ewpratten/kobo-rs
repositoryhttps://github.com/ewpratten/kobo-rs
max_upload_size
id566556
Cargo.toml error:TOML parse error at line 18, column 1 | 18 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include`
size0
Evan Pratten (ewpratten)

documentation

https://docs.rs/kobo

README

kobo-rs

Crates.io Docs.rs Build Clippy

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.

Building

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.

Running an example

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
Commit count: 15

cargo fmt