feature(shim): Merge shim directory (#2210)
This is a first attempt to merge the Rust shim into main. All of the code has been reviewed already, but you're welcome to take another look. The build changes will be merged later.
Co-authored-by: Greg Soltis <418301+gsoltis@users.noreply.github.com>