To get it from the main branch in the github repo:
$env:CARGO_NET_GIT_FETCH_WITH_CLI="true"; cargo add --branch main --git https://github.com/reirep/rust_lib_ring_buffer.git
you'll be able to use it like this after
use ring_buffer
To up you project version of ring_buffer to the lastest version, use:
$env:CARGO_NET_GIT_FETCH_WITH_CLI="true"; cargo update