![Image of Travis CI build status] (https://travis-ci.org/lunemec/rust-luhn.svg?branch=master) ![Crates.io] (https://img.shields.io/crates/v/rust-luhn.svg)
Performs a Luhn algorithm check on given number, returns true/false.
Add this to your Cargo.toml
:
toml
[dependencies]
luhn2 = "0.1"
and this to your crate root:
rust
extern crate luhn;