replace libtime with cargo package
Change lint options and fix warnings
Remove unnecessary .gitignore
Migrate to cargo (p051-p055)