Update for rfc 52 changes
Cargo.toml [[lib]] -> [lib]
Add repr(C) to ffi types
Merge pull request #11 from ebfe/fix-warnings

Fix warnings