I've created ripgrep into an OpenWrt package. To build this package, it requires rust-lang (https://github.com/openwrt/packages/pull/13916) to build and currently only supports mips64 and mips architectures. More arches are coming as I test them.
If someone is interested in helping me test and are interested n having ripgrep on their device for whatever reason, if you tell me what device tree your device is, I can work to build out rg for it.