Skip to content

Java 8+ JNI wrapper to the starship battery crate.

License

Notifications You must be signed in to change notification settings

LostLuma/battery

Repository files navigation

Battery

Java 8+ JNI wrapper to the starship battery crate.

Usage

The library can be installed from the releases repository on maven.lostluma.net in two variants:

  • default: Downloads, validates, and caches the dynamic library on demand. Saves bandwidth and disk space.
  • bundled: Contains the dynamic library for all platforms. Recommended for situations in which first startup may be offline.

The dynamic library is currently available for Linux, MacOS, and Windows on both aarch64 and amd64 platforms.

Misc

This is my first time using both Rust and JNI :)