buntine / barcoders

A barcode encoding library for the Rust programming language
Apache License 2.0
164 stars 24 forks source link

Add some lints and reformat some code #2

Closed killercup closed 8 years ago

killercup commented 8 years ago

Along the lines of this article, this

This also adds a basic config for TravisCI. I you want to use it, you can easily generate and add a secret Github token to upload docs, and enable test coverage collection by re-enabling some of the commented lines.

Feel free to pick and choose which commits you want to merge.

buntine commented 8 years ago

Oh, thanks so much. I really should have read your article! I will fix the remaining warnings over the next day or so.

killercup commented 8 years ago

Cool! The only remaining warning should be missing-docs. When you've fixed those, you could switch from #[warn(…)] to #[deny(…)] to turn them into hard errors.