| Crates.io | math_captcha |
| lib.rs | math_captcha |
| version | 0.1.1 |
| created_at | 2023-11-29 04:02:37.150645+00 |
| updated_at | 2023-11-29 04:48:02.979255+00 |
| description | This is a mathematical CAPTCHA code generator written in Rust. |
| homepage | |
| repository | https://github.com/Baiyuetribe/math_captcha |
| max_upload_size | |
| id | 1052578 |
| size | 40,702 |

cargo add math_captcha
use math_captcha::Captcha;
fn main() {
let a = Captcha::new(150, 50); // width: 150, height: 50
println!("value:{},base64_img:{}", a.value, a.base64_img);
}