Add a .gitignore
Make sure libraries depend on "lib"
add support for cargo.
Merge pull request #8 from erickt/master

Add support for cargo