6 stable releases

new 4.1.0 Oct 14, 2024
4.0.0 Mar 31, 2024
3.0.0 Nov 7, 2023
2.1.1 Jun 14, 2023
2.0.0 Apr 21, 2023

#1361 in Procedural macros

Download history 2/week @ 2024-06-27 29/week @ 2024-07-04 1/week @ 2024-07-25 3/week @ 2024-08-29 28/week @ 2024-09-05 7/week @ 2024-09-19 11/week @ 2024-09-26 11/week @ 2024-10-03 177/week @ 2024-10-10

206 downloads per month
Used in rrplug

Apache-2.0 OR MIT

36KB
957 lines

rrplug

crates.io docs.rs rrplug-test-build

framework for working with R2Northstar's plugin system.

this crate provides convenient abstractions with compile time checks while not limiting unsafe access to any parts of plugin sys or the titanfall 2 engine.

rrplug template

plugins v4 removed some dependencies on external files so now templates are redundant but a template still exists

cross compiling plugins

To compile a plugin from a host machine that's not using windows, you need to install the required target.

rustup target add x86_64-pc-windows-gnu

Then create a cargo config to always compile your project for windows.

mkdir .cargo
echo "[build]\ntarget = \"x86_64-pc-windows-gnu\"" > .cargo/config.toml

versioning

rrplug had a major rewrite for each plugins version so versions that a x plugins version are x.\*.\*

rrplug plugins
4.*.* v4
3.*.* v3
2.*.* v2
0.1.* v1

Dependencies

~260–710KB
~17K SLoC