Shanghai Library has its own books.
If it is particularly expensive, you'd better take it with you. You don't have insurance, and you won't compensate if the library is lost, but in most cases it's no problem. If you use a bar code, it won't be stolen. For example, there are more than 6,543,800 lock keys used in Song Like Ming lockers, which cannot be copied and cracked.