Fix the warnings

No need for `crate_*` attributes -- Cargo.toml will provide those. And we can safely
silence the ffi module -- it's autogenerated code coming from C.