libloadorder-ffi

Crates.iolibloadorder-ffi
lib.rslibloadorder-ffi
version11.4.1
sourcesrc
created_at2017-10-15 09:03:36.02395
updated_at2018-09-10 12:50:05.218477
descriptionA wrapper library providing a C FFI for libloadorder.
homepage
repositoryhttps://github.com/WrinklyNinja/libloadorder.git
max_upload_size
id35696
size69,137
Oliver Hamlet (Ortham)

documentation

https://docs.rs/libloadorder-ffi

README

Libloadorder

AppVeyor Build Status Travis Build Status Coverage Status dependency status docs

Libloadorder is a cross-platform library for manipulating the load order and active status of plugins for the following games:

  • TES III: Morrowind
  • TES IV: Oblivion
  • TES V: Skyrim
  • TES V: Skyrim Special Edition
  • Fallout 3
  • Fallout: New Vegas
  • Fallout 4
  • Fallout 4 VR

This repository hosts two Rust crates: libloadorder is the Rust library, and libloadorder-ffi is the C FFI that wraps it. The doc directory also hosts an mdbook that provides a general introduction to load orders.

To build libloadorder and its C FFI and generate C/C++ headers for it, install Rust and run cargo build --release --all --all-features.

Tests

The tests require testing-plugins, put them in testing-plugins in the repo root.

Run cargo test and cargo bench to run the Rust tests and benchmarks respectively.

To run the FFI tests, create a directory at ffi/build, then from that directory run:

cmake ..
cmake --build .
ctest
Commit count: 662

cargo fmt