Compare commits

..

No commits in common. "master" and "v0.3.0" have entirely different histories.

2 changed files with 4 additions and 4 deletions

View file

@ -1,6 +1,6 @@
[package]
name = "salvo-captcha"
version = "0.3.1"
version = "0.3.0"
rust-version = "1.75.0"
edition = "2021"
authors = ["Awiteb <a@4rs.nl>"]

View file

@ -14,7 +14,7 @@ First, add the following to your `Cargo.toml`:
```toml
[dependencies]
salvo-captcha = "0.3"
salvo-captcha = "0.2"
```
Or use [`cargo add`] to add the dependency to your `Cargo.toml`:
@ -37,7 +37,7 @@ A high-performance, concurrent, content-addressable disk cache. The storage is b
```toml
[dependencies]
salvo-captcha = { version = "0.3", features = ["cacache-storage"] }
salvo-captcha = { version = "0.2", features = ["cacache-storage"] }
```
## Captcha Finder
@ -50,7 +50,7 @@ We provide [`SimpleCaptchaGenerator`] which is a simple captcha generator based
```toml
[dependencies]
salvo-captcha = { version = "0.3", features = ["simple-generator"] }
salvo-captcha = { version = "0.2", features = ["simple-generator"] }
```
You can implement your own generator by implementing the [`CaptchaGenerator`] trait.