4 releases

0.1.3 Dec 1, 2021
0.1.2 Dec 1, 2021
0.1.1 Dec 1, 2021
0.1.0 Dec 1, 2021

#844 in Images

Download history 5/week @ 2023-12-13 5/week @ 2023-12-20 3/week @ 2023-12-27 15/week @ 2024-01-03 16/week @ 2024-01-10 2/week @ 2024-01-17 2/week @ 2024-01-24 12/week @ 2024-02-14 27/week @ 2024-02-21 29/week @ 2024-02-28 17/week @ 2024-03-06 28/week @ 2024-03-13 26/week @ 2024-03-20 19/week @ 2024-03-27

94 downloads per month

MIT license

170KB
117 lines

captcha_rust

captcha_rust is a library that generates picture verification codes. Example pictures are as follows:

1.png 2.png 3.png
4.png 5.png 6.png

Example

Add the following dependency to the Cargo.toml file:

[dependencies]
captcha_rust =  "0.1.3"

And then get started in your main.rs:

use captcha_rust::Captcha;

fn main() {
    let a = Captcha::new(5,130,40);
    println!("test:{},base_img:{}", a.text, a.base_img);
}

Dependencies

~18MB
~157K SLoC