#bindings #x-plane #sdk #plugin #low-level

sys xplm-sys

Low-level bindings for the X-Plane plugin SDK

13 releases

0.5.0 Mar 11, 2024
0.4.0 Jun 1, 2020
0.3.1 Jan 26, 2018
0.3.0 Oct 10, 2017
0.1.4 Dec 14, 2015

#4 in #x-plane

Download history 8/week @ 2024-02-14 14/week @ 2024-02-21 24/week @ 2024-02-28 155/week @ 2024-03-06 52/week @ 2024-03-13 6/week @ 2024-03-20

240 downloads per month
Used in xplm

MIT/Apache

390KB
607 lines

Contains (static library, 55KB) SDK/Libraries/Win/XPLM_64.lib, (static library, 40KB) SDK/Libraries/Win/XPLM.lib, (static library, 11KB) SDK/Libraries/Win/XPWidgets.lib, (static library, 11KB) SDK/Libraries/Win/XPWidgets_64.lib

xplm-sys: Rust bindings for the X-Plane plugin SDK

This library provides Rust bindings to the X-Plane plugin SDK.

SDK versions

This crate supports SDK version 4.0.1, which is supported on X-Plane 12.04 and later. Plugins can be used with earlier X-Plane versions as long as they do not use newer APIs.

Some features in earlier versions of the SDK have been removed. This library currently does not provide a way to access them.

Documentation

The types and functions are documented on the X-Plane plugin API website.

Compiling and linking

This library currently can be compiled on Mac OS, Linux, and Windows.

On Mac OS and Windows, plugins must be dynamically linked with libraries that provide stub implementations of the SDK functions. This crate includes those libraries and tells Cargo to link them.

License

Licensed under either of

at your option.

Files in the SDK folder are provided under a separate license, provided in SDK/license.txt.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you shall be dual licensed as above, without any additional terms or conditions.

No runtime deps

~0–1.8MB
~36K SLoC