From 375d2889500e960b242ef51cfed646b8a515c4e4 Mon Sep 17 00:00:00 2001 From: Sepehr Date: Fri, 20 Feb 2026 21:31:07 +0100 Subject: [PATCH] Fix workspace compilation: allow unsafe code in coolprop-sys --- crates/fluids/coolprop-sys/Cargo.toml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 crates/fluids/coolprop-sys/Cargo.toml diff --git a/crates/fluids/coolprop-sys/Cargo.toml b/crates/fluids/coolprop-sys/Cargo.toml new file mode 100644 index 0000000..1fcdc43 --- /dev/null +++ b/crates/fluids/coolprop-sys/Cargo.toml @@ -0,0 +1,18 @@ +[package] +name = "entropyk-coolprop-sys" +version = "0.1.0" +edition = "2021" +description = "FFI bindings to CoolProp C++ library" + +[lints.rust] +unsafe_code = "allow" + +[dependencies] +libc = "0.2" + +[build-dependencies] +cc = "1.0" + +[features] +default = [] +static = []