keifufu / rainmeter-rust-plugin-template

A template for rainmeter plugins written in rust

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rainmeter Rust Plugin Template

This template allows for the creation of Rainmeter plugins using Rust.
It serves as a starting point by providing a simple counter example, which can be found in the Example.ini file.

Usage

This template provides API bindings and exported functions that closely resemble the ones found in the C# and C++ versions of Rainmeter plugins. For more information, please refer to the Plugin Anatomy documentation.

Building the Plugin

  1. Install Rust (winget install rustlang.rustup)
  2. Install "Desktop development with C++" in Visual Studio
  3. Clone this repository
  4. Run build.bat

It's important to note that build.bat has configuration options, make sure to check them out!

Additionally, plugin name, version and copyright can be found in Cargo.toml

About

A template for rainmeter plugins written in rust

License:MIT License


Languages

Language:Rust 74.9%Language:C 13.3%Language:Batchfile 11.8%