Since I never became really comfortable with any integrated way to write rules for openHAB and my favorite programming language is Rust I thought of a way to write my rules in it.
After I could not find an existing solution and taking inspiration from the great HABApp I developed hab-rs.
hab-rs is an external rule engine for openHAB where you can write rules in Rust and benefit from its vast ecosystem, performance and (type-)safety.
I use it for some more complex rules in my own openHAB instance that I previously wrote in the integrated rules DSL and it works great so far!
After some polishing and adding of more documentation I now think it is ready for public use and feedback.
The repository is hosted on Github and the crate on crates.io. You can find sample code there.
I hope anyone finds it useful and if you use it please consider leaving feedback here or in the repository as well as notify me of any bugs you might find.