Crates.io | cue-sdk-sys |
lib.rs | cue-sdk-sys |
version | 0.0.5 |
source | src |
created_at | 2020-09-04 00:56:02.773169 |
updated_at | 2020-11-07 23:31:09.518097 |
description | FFI Bindings for the Corsair iCUE SDK. |
homepage | https://github.com/scottroemeschke/cue-sdk-sys |
repository | https://github.com/scottroemeschke/cue-sdk-sys |
max_upload_size | |
id | 284495 |
size | 121,846 |
The cue-sdk-sys
crate is a low-level unsafe Rust bindings to the native Corsair iCUE SDK.
The follow describes the steps taken to generate the source code, and what manual tweaks were made to the generated code.
bindgen <path_to_CUESDK.h> -- -x c++ -std=gnu++14
extern
block.#[must_use]
to functions which return boolean "success" values.Send
and Sync
traits to non-auto send/sync structs since the iCUE SDK documentation shares that the SDK is thread-safe.CUE_SDK_FRAMEWORK_PATH
to point to the CUESDK directory with the framework (named CUESDK.framework
).CUE_SDK_LIB_FILES_PATH
to point to the lib
folder of the CUESDK..redist
CUESDK folder to your path to develop and run end-to-end tests, and include it in your final (built) release package to the end user.