math_captcha 0.1.0

This is a mathematical CAPTCHA code generator written in Rust.
Documentation
# Math_Captcha

## Example

![](assets/1.jpg)
![](assets/2.jpg)
![](assets/3.jpg)
![](assets/4.jpg)

## Features

- [x] 用 rust 编写的数学验证码生成库

## Install

```bash
cargo add math_captcha
```

## Usage

```rust
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);
}
```