22 releases (11 stable)

3.2.0 Apr 8, 2024
3.0.1 Mar 21, 2024
2.0.3 Mar 18, 2024
1.0.3 Mar 16, 2024
0.1.0 Feb 15, 2022

#132 in Asynchronous

Download history 19/week @ 2024-02-23 17/week @ 2024-03-01 134/week @ 2024-03-08 1100/week @ 2024-03-15 165/week @ 2024-03-22 65/week @ 2024-03-29 253/week @ 2024-04-05

1,605 downloads per month
Used in 4 crates

MIT license

49KB
959 lines

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

Dependencies

~5–19MB
~239K SLoC