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

sys xplm-sys

Low-level bindings for the X-Plane plugin SDK

14 releases

0.5.1 Nov 13, 2024
0.5.0 Mar 11, 2024
0.4.0 Jun 1, 2020
0.3.1 Jan 26, 2018
0.1.4 Dec 14, 2015

#3 in #x-plane

Download history 34/week @ 2024-09-23 22/week @ 2024-09-30 3/week @ 2024-11-04 115/week @ 2024-11-11 38/week @ 2024-11-18 34/week @ 2024-11-25 85/week @ 2024-12-02 129/week @ 2024-12-09

292 downloads per month
Used in xplm

MIT/Apache

1MB
608 lines

Contains (static library, 67KB) 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