CAPTCHA library written in Rust
A library to generate CAPTCHAs like these:
Requirements
Rust (https://www.rust-lang.org/)
Documentation
Usage
Add the following dependency to the Cargo.toml
file:
[]
= "*"
In your source file do:
extern crate captcha;
use Captcha;
use Noise;
use Path;
Running the example
git clone git@github.com:daniel-e/captcha.git
cd captcha
cargo run --example captcha
This example creates 12 CAPTCHA images (PNG images) in the current directory.
The generated images will look like the following three images: