Is there any library/example available with MODBUS Master and Slave implementations for STM targets?

I am trying to implement MODBUS Master and Slave for STM board. So, I wanted to check if there are any MBED library/example implementing MODBUS protocol available ?

This is a Modbus RTU lib:
It is written for FreeRTOS, but it should be no problem to adapt it to Mbed.