chore: Update README.md

Signed-off-by: Awiteb <a@4rs.nl>
This commit is contained in:
Awiteb 2024-08-12 21:07:55 +00:00
parent e5defe0f61
commit 8b17b6d824
Signed by: awiteb
GPG key ID: 3F6B55640AA6682F

View file

@ -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