pow_sha256 version bump

This commit is contained in:
Aravinth Manivannan 2021-04-02 11:05:33 +05:30
parent ab2f418b57
commit 9183fae264
Signed by: realaravinth
GPG key ID: AD9F0F08E855ED88
3 changed files with 98 additions and 24 deletions

View file

@ -1,19 +1,20 @@
# 0.1.1
## 0.1.3
## Fixed
- a bug in `mCaptcha/pow_sha256` was causing errors in PoW computation
## Added
## 0.1.2
## Changed
- actix upgraded to `0.11`
## 0.1.1
### Added
- `Master` packs a garbage collector to stop and get rid of inactive
`MCaptcha` actors
- `serde::{Serialize, Deserialize}` impls (shouldn't break anything)
## Changed
### Changed
- typo fix: `MCaptcha::decrement_visiotr()` became `MCaptcha::decrement_visitor()`
- `MCaptcha` throws error when duration is 0
- `Visitor` is changed to `AddVisitor`
- `Master` constructor accepts a parameter to configure GC(see previous
point) period
# 0.1.2
## Changed
- actix upgraded to `0.11`

97
Cargo.lock generated
View file

@ -138,8 +138,18 @@ version = "0.10.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0d706e75d87e35569db781a9b5e2416cff1236a47ed380831f959382ccd5f858"
dependencies = [
"darling_core",
"darling_macro",
"darling_core 0.10.2",
"darling_macro 0.10.2",
]
[[package]]
name = "darling"
version = "0.12.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a06d4a9551359071d1890820e3571252b91229e0712e7c36b08940e603c5a8fc"
dependencies = [
"darling_core 0.12.2",
"darling_macro 0.12.2",
]
[[package]]
@ -152,7 +162,21 @@ dependencies = [
"ident_case",
"proc-macro2",
"quote",
"strsim",
"strsim 0.9.3",
"syn",
]
[[package]]
name = "darling_core"
version = "0.12.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b443e5fb0ddd56e0c9bfa47dc060c5306ee500cb731f2b91432dd65589a77684"
dependencies = [
"fnv",
"ident_case",
"proc-macro2",
"quote",
"strsim 0.10.0",
"syn",
]
@ -162,7 +186,18 @@ version = "0.10.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d9b5a2f4ac4969822c62224815d069952656cadc7084fdca9751e6d959189b72"
dependencies = [
"darling_core",
"darling_core 0.10.2",
"quote",
"syn",
]
[[package]]
name = "darling_macro"
version = "0.12.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c0220073ce504f12a70efc4e7cdaea9e9b1b324872e7ad96a208056d7a638b81"
dependencies = [
"darling_core 0.12.2",
"quote",
"syn",
]
@ -173,25 +208,57 @@ version = "0.9.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a2658621297f2cf68762a6f7dc0bb7e1ff2cfd6583daef8ee0fed6f7ec468ec0"
dependencies = [
"darling",
"derive_builder_core",
"darling 0.10.2",
"derive_builder_core 0.9.0",
"proc-macro2",
"quote",
"syn",
]
[[package]]
name = "derive_builder"
version = "0.10.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "78ef25735c9f0d0c547d2794701600c94abf030ecb740fad1673fa64461f3573"
dependencies = [
"derive_builder_core 0.10.0",
"derive_builder_macro",
]
[[package]]
name = "derive_builder_core"
version = "0.9.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2791ea3e372c8495c0bc2033991d76b512cd799d07491fbd6890124db9458bef"
dependencies = [
"darling",
"darling 0.10.2",
"proc-macro2",
"quote",
"syn",
]
[[package]]
name = "derive_builder_core"
version = "0.10.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3150f1e84602847b99d3eeb702487fc364f7d6c94f634e944a68fdbaea09e457"
dependencies = [
"darling 0.12.2",
"proc-macro2",
"quote",
"syn",
]
[[package]]
name = "derive_builder_macro"
version = "0.10.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5ca1008bddefdc08d1e734aeb27b94f384390af261b4d1a8fb51fe19c577f05c"
dependencies = [
"derive_builder_core 0.10.0",
"syn",
]
[[package]]
name = "derive_more"
version = "0.99.11"
@ -322,11 +389,11 @@ dependencies = [
[[package]]
name = "m_captcha"
version = "0.1.2"
version = "0.1.3"
dependencies = [
"actix",
"actix-rt",
"derive_builder",
"derive_builder 0.9.0",
"derive_more",
"pow_sha256",
"rand",
@ -422,11 +489,11 @@ checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184"
[[package]]
name = "pow_sha256"
version = "0.2.0"
source = "git+https://github.com/mcaptcha/pow_sha256#d0889fc9008e63795b024b57432ed0034a703d0b"
version = "0.2.1"
source = "git+https://github.com/mcaptcha/pow_sha256#f97858cd639fa2f807603d2515a6ae09191629cd"
dependencies = [
"bincode",
"derive_builder",
"derive_builder 0.10.0",
"serde",
"sha2",
]
@ -581,6 +648,12 @@ version = "0.9.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6446ced80d6c486436db5c078dde11a9f73d42b57fb273121e160b84f63d894c"
[[package]]
name = "strsim"
version = "0.10.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623"
[[package]]
name = "syn"
version = "1.0.62"

View file

@ -1,6 +1,6 @@
[package]
name = "m_captcha"
version = "0.1.2"
version = "0.1.3"
authors = ["realaravinth <realaravinth@batsense.net>"]
description = "Convenient abstractions for all things credentials"
keywords = ["credentials", "password"]
@ -11,7 +11,7 @@ edition = "2018"
readme = "README.md"
[dependencies]
actix = "0.11"
actix = "0.10"
serde = "1.0.114"
serde_json = "1"
@ -20,7 +20,7 @@ derive_builder = "0.9"
derive_more = "0.99"
rand = "0.8"
pow_sha256 = { version = "0.2", git = "https://github.com/mcaptcha/pow_sha256" }
pow_sha256 = { version = "0.2.1", git = "https://github.com/mcaptcha/pow_sha256" }
[dev-dependencies]
actix-rt = "2"