Merge pull request #1 from cmr/master

Use ptr::offset
Updated to rustpkg format
Merge pull request #2 from jmgrosen/rustpkg-format

Updated to rustpkg format