13 unstable releases

Uses new Rust 2024

0.9.5 Apr 14, 2026
0.9.4 Mar 9, 2026
0.9.3 Jan 26, 2026
0.9.2 Dec 11, 2025
0.1.1 Oct 13, 2022

#8 in #phase-equilibria


Used in 2 crates (via feos)

MIT/Apache

30KB
681 lines

This crate provides derive macros used for the EosVariant and FunctionalVariant enums in FeOs. The macros implement the boilerplate for the EquationOfState and HelmholtzEnergyFunctional traits.


FeOs-derive

crate documentation

feos-derive is part of the FeOs project.

FeOs - A Framework for Equations of State and Classical Density Functional Theory

What it does

The feos-derive crate contains macros that provide boilerplate for the implementation of several traits from feos-core and feos-dft for the FFI conform enums in feos. With these macros, new equations of state and functionals can be added straightforwardly to the Python interface or other FFIs.

Dependencies

~1.5MB
~40K SLoC