The library does not do very much (for example, no alarms etc.). What methods from it have you used in your previous code ? It should not be too difficult to write a few wrapper routines for another DS3231 library which is already ESP32 compatible so that changes to your existing code are at a minimum.