A sync library for use in disruption-tolerant networking, content-oriented networking, and other applications.