(3) The board of trustees of a public library or the governing board of any other publicly-supported library, under such rules and regulations as it may deem necessary and upon such terms and conditions as may be agreed upon may allow nonresidents of the governmental unit which the library serves to use such library's materials and equipment and may make exchanges of books and other materials with