tzsp-0.1.0 is not a library.
TZSP
This is a simple CLI tool to listen for TZSP packets and convert them to PCAP. A common way to use it is:
tzsp | wireshark -i - -k
It can also save to file:
tzsp -o capture.pcap