Make warnings fatal and require documentation

Let's make this look like a real project.
fix lib.rs