The library could charge per download.
There could be be ads, though that seems distasteful.
None of these require making an ebook available for a limited amount of time.