feat: bump version to 0.4.0
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline was successful

This commit is contained in:
Aravinth Manivannan 2023-10-14 23:56:51 +05:30
parent 05048711a3
commit debd7805d0
Signed by: realaravinth
GPG key ID: F8F50389936984FF
3 changed files with 19 additions and 9 deletions

View file

@ -1,22 +1,32 @@
# Changelog # Changelog
# 0.4.0
## Changed
Rename crate from `pow_sha256` to `mcaptcha_pow_sha256`
## 0.2.1 ## 0.2.1
### Changed ### Changed
- performance improvement: internally `get_difficulty` was being called
multiple times while generating `PoW`, now it calls only once. - performance improvement: internally `get_difficulty` was being called
multiple times while generating `PoW`, now it calls only once.
### Fixed ### Fixed
- encoding and decoding configuration used internally was causing an
error in `PoW` computation - encoding and decoding configuration used internally was causing an
error in `PoW` computation
## 0.2.0 ## 0.2.0
### Changed ### Changed
- Difficulty factor is now an unsigned 32 bit number
- Difficulty factor is now an unsigned 32 bit number
## 0.1 ## 0.1
### Added: ### Added:
- PoW constructor
- unique salt - PoW constructor
- unique salt

2
Cargo.lock generated
View file

@ -157,7 +157,7 @@ checksum = "a08173bc88b7955d1b3145aa561539096c421ac8debde8cbc3612ec635fee29b"
[[package]] [[package]]
name = "mcaptcha_pow_sha256" name = "mcaptcha_pow_sha256"
version = "0.3.1" version = "0.4.0"
dependencies = [ dependencies = [
"bincode", "bincode",
"derive_builder", "derive_builder",

View file

@ -1,6 +1,6 @@
[package] [package]
name = "mcaptcha_pow_sha256" name = "mcaptcha_pow_sha256"
version = "0.3.1" version = "0.4.0"
authors = [ "Aravinth Manivannan <realaravinth@bastsense.net>", "Robert Kornacki <robk@syre.io>"] authors = [ "Aravinth Manivannan <realaravinth@bastsense.net>", "Robert Kornacki <robk@syre.io>"]
description = """ description = """
SHA256 PoW on any serializable datatype used in mCaptcha SHA256 PoW on any serializable datatype used in mCaptcha