coolprop-sys 7.2.0

Raw FFI bindings to CoolProp
Documentation

coolprop-sys

Raw FFI bindings to CoolProp

Supported platforms

  • Linux x86-64
  • macOS AArch64
  • macOS x86-64
  • Windows AArch64
  • Windows 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