lighthouse-client

Crates.iolighthouse-client
lib.rslighthouse-client
version3.3.2
sourcesrc
created_at2022-02-15 17:05:59.263611
updated_at2024-05-31 23:13:15.21223
descriptionClient SDK for Project Lighthouse
homepage
repositoryhttps://github.com/ProjectLighthouseCAU/lighthouse-rust
max_upload_size
id532818
size94,286
dev (github:projectlighthousecau:dev)

documentation

README

Lighthouse Client

crates.io docs.rs

An asynchronous library for building clients for Project Lighthouse, e.g. games or animations.

The library is defined in terms of futures and can thus be used with any async runtime, though additional convenience functions are provided for async-std and tokio. The latter can be enabled via the corresponding crate features.

Example Usage

First make sure to have a login at lighthouse.uni-kiel.de and to have your credentials defined as environment variables:

export LIGHTHOUSE_USER=[your username]
export LIGHTHOUSE_TOKEN=[your api token]

You can now run an example with

cargo run --example disco

For a more complex example, try

cargo run --example snake
Commit count: 205

cargo fmt