14 releases
new 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
118 downloads per month
Used in xplm
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
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
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.