Add `ringbuffer` dependency.

Closes #5.