Are donations to the library tax-deductible? To the foundation?

Donations to the library and to the foundation are both tax-deductible to the extent allowed by law.