Cargo Features

physx-sys has no features set by default.

[dependencies]
physx-sys = { version = "0.11.5", features = ["structgen", "profile", "debug-structs", "cpp-warnings"] }
structgen

This feature will build and run the structgen program, generating C++ and Rust code to ensure the record types used in FFI match exactly and can be transparently memcopied. This feature is not normally needed for tier 1 platforms and Android as the crate includes pre-generated ones

profile
debug-structs

Enables Debug derivations for the FFI structures, which can be useful for print debugging

cpp-warnings

Enables warnings in when compiling the C++ code. This is not something you should care about