rrplug
crate that provides function wappers and functions for R2Northstar plugin creation.
Plugin Support
the v1 branch is for v1 plugins
the v2 branch is for v2 plugins
the master branch is the newest version
Getting Started
add this to your Cargo.toml so your lib crate compiles into a dll.
[lib]
crate-type = []
create manifest.json with the following contents
get Resource.rc and resource.h from NorthstarDiscordRPC.
create build.rs in the root of your project with the following content
extern crate windres;
use Build;
and add windres as a build dependencie.
Finnaly shove this into lib.rs
use *;
;
entry!;
Compile
Then enjoy your hello world plugin
rrplug template
install cargo-generate if you don't have it