chore: Update README.md
Signed-off-by: Awiteb <a@4rs.nl>
This commit is contained in:
parent
e5defe0f61
commit
8b17b6d824
1 changed files with 8 additions and 1 deletions
|
@ -46,7 +46,14 @@ We provide fully customizable query parameters, form fields, and headers to find
|
||||||
|
|
||||||
## Captcha Generator
|
## Captcha Generator
|
||||||
|
|
||||||
We provide [`SimpleCaptchaGenerator`] which is a simple captcha generator based on the [`captcha`] crate. You can implement your own captcha generator by implementing the [`CaptchaGenerator`] trait.
|
We provide [`SimpleCaptchaGenerator`] which is a simple captcha generator based on the [`captcha`] crate, you can enable it by enabling the `simple-generator` feature.
|
||||||
|
|
||||||
|
```toml
|
||||||
|
[dependencies]
|
||||||
|
salvo-captcha = { version = "0.2", features = ["simple-generator"] }
|
||||||
|
```
|
||||||
|
|
||||||
|
You can implement your own generator by implementing the [`CaptchaGenerator`] trait.
|
||||||
|
|
||||||
### Captcha name and difficulty
|
### Captcha name and difficulty
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue