thriftlibrary