rim-0.1.1 is not a library.
This is a text editor built in Rust. It’s a re-implementation of kilo in Rust, as outlined in this fantastic tutorial. Same as the original booklet, these blog posts guide you through all the steps to build a basic text editor, Rim.