coolprop-sys
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:
[]
= "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:
[]
= { = "7", = ["regen-bindings"] }
Or via command line:
cargo add coolprop-sys --features regen-bindings