API

Run

cargo doc --open --lib

and you can search rig to find the API.