Crates.io | rrplug |
lib.rs | rrplug |
version | 4.1.0 |
source | src |
created_at | 2022-11-13 00:21:06.016253 |
updated_at | 2024-10-14 00:31:44.849304 |
description | framework for R2Northstar plugins |
homepage | |
repository | https://github.com/R2NorthstarTools/rrplug |
max_upload_size | |
id | 713884 |
size | 437,058 |
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.
plugins v4 removed some dependencies on external files so now templates are redundant but a template still exists
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
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 |