Based on the existing "cargo" plugin.
This plugin adds completion for the text search tool ripgrep, also known as rg.
ripgrep
rg
To use it, add ripgrep to the plugins array in your zshrc file:
plugins=(... ripgrep)
Completion is taken from the ripgrep release 0.10.0.
0.10.0
Updated on September 27th, 2018.