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 |
#25 in #captcha
25 downloads per month
170KB
117 lines
captcha_rust
captcha_rust is a library that generates picture verification codes. Example pictures are as follows:
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
~11MB
~189K SLoC