chore: Bump the version to 0.2.0

Signed-off-by: Awiteb <a@4rs.nl>
This commit is contained in:
Awiteb 2024-08-12 20:44:21 +00:00
parent 0f83f29c85
commit e5defe0f61
Signed by: awiteb
GPG key ID: 3F6B55640AA6682F
4 changed files with 6 additions and 6 deletions

View file

@ -18,7 +18,7 @@ jobs:
- name: Build the source code
run: cargo build
- name: Build examples
run: cargo build -F 'cacache-storage' --example simple_login
run: cargo build -F 'simple-generator' --example simple_login
- name: Run tests
run: cargo test --tests --all-features
- name: Check the code format

View file

@ -1,6 +1,6 @@
[package]
name = "salvo-captcha"
version = "0.1.0"
version = "0.2.0"
rust-version = "1.75.0"
edition = "2021"
authors = ["Awiteb <a@4rs.nl>"]
@ -24,7 +24,7 @@ either = { version = "1.13.0", default-features = false }
[features]
cacache-storage = ["dep:cacache"]
simple_generator = ["dep:captcha"]
simple-generator = ["dep:captcha"]
[package.metadata.docs.rs]
all-features = true
@ -39,4 +39,4 @@ rstest = "0.22.0"
[[example]]
name = "simple_login"
required-features = ["simple_generator"]
required-features = ["simple-generator"]

View file

@ -19,7 +19,7 @@ _default:
# Run the CI (Local use only)
@ci:
cargo fmt --all --check
cargo build -F 'simple_generator' --example simple_login
cargo build -F 'simple-generator' --example simple_login
cargo clippy --workspace --all-targets --examples --tests --all-features -- -D warnings
cargo nextest run --workspace --all-targets --all-features
@{{JUST_EXECUTABLE}} msrv

View file

@ -9,7 +9,7 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
#[cfg(feature = "simple_generator")]
#[cfg(feature = "simple-generator")]
mod simple_generator;
#[cfg_attr(docsrs, doc(cfg(feature = "simple-generator")))]