[[lib]] is deprecated
s/Share/Sync/
fix some deprecations
Merge pull request #1 from doy/master

Updates for new rust and cargo