Expand description
Raw FFI bindings to CoolProp
§Supported platforms
Linux x86-64macOS AArch64macOS x86-64Windows AArch64Windows x86-64
§MSRV
coolprop-sys requires rustc 1.85.0 or later.
§How to install
Add this to your Cargo.toml:
[dependencies]
coolprop-sys = "7"Or via command line:
cargo add coolprop-sys🎁 It comes with native CoolProp dynamic libraries for supported platforms. The library
required for your platform will be automatically copied to the target directory during build.
It also includes pre-generated FFI bindings, so libclang is not required for normal builds.
§Regenerating bindings
If you need to regenerate the FFI bindings (requires libclang), enable the
regen-bindings feature.
Add this to your Cargo.toml:
[dependencies]
coolprop-sys = { version = "7", features = ["regen-bindings"] }Or via command line:
cargo add coolprop-sys --features regen-bindings§License
This project is licensed under MIT License.Modules§
- bindings
- Raw FFI bindings to
CoolProp.
Statics§
- COOLPROP
- Global instance of the
CoolPropdynamic library.