docs.rs failed to build rainmeter-0.1.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
rainmeter
Rainmeter Rust Plugin Interface
A (probably)-safe, high-level Rust wrapper around RainmeterΓÇÖs C/C++ plugin API. (I don't write too much Rust, so this is a work in progress. Don't judge me too harshly, please!)
Please note this is platform-specific to Windows, as Rainmeter is a Windows-only application.
For more information, please refer to the Rainmeter C++ API Overview (for the implementable functions) and the Rainmeter C++ API Reference (Which is accessed via the RainmeterContext arguments).
Features
- Write your Rainmeter plugins in idiomatic Rust, with traits!!
- Ergonomic Rust methods for reading measure options (
ReadString,ReadFormula, etc.) - Typed getters for skin data (
measure name,skin path,HWND, etc.) - Safe logging and panic-handling in your plugin entry points
- Simple
RainmeterPlugintrait anddeclare_plugin!macro to expose plugins
Installation
Add this crate to your Cargo.toml:
[]
= "0.1"
[]
= ["cdylib"]
Usage
use ;
;
declare_plugin!;
License: LGPL-3.0-or-later