From 3b957ccfc5a7fe6fd8f5167f0c47b16d48209484 Mon Sep 17 00:00:00 2001 From: Awiteb Date: Mon, 12 Aug 2024 21:07:55 +0000 Subject: [PATCH] chore: Update README.md Signed-off-by: Awiteb --- README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 989c74b..b4f37f9 100644 --- a/README.md +++ b/README.md @@ -46,7 +46,14 @@ We provide fully customizable query parameters, form fields, and headers to find ## 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