feat: use libmCaptcha from crates.io

This commit is contained in:
Aravinth Manivannan 2023-10-17 15:38:40 +05:30
parent 561a847bd7
commit cb7245d577
No known key found for this signature in database
GPG key ID: F8F50389936984FF
3 changed files with 4 additions and 5 deletions

3
Cargo.lock generated
View file

@ -1784,7 +1784,8 @@ checksum = "f7012b1bbb0719e1097c47611d3898568c546d597c2e74d66f6087edd5233ff4"
[[package]] [[package]]
name = "libmcaptcha" name = "libmcaptcha"
version = "0.2.4" version = "0.2.4"
source = "git+https://github.com/mCaptcha/libmcaptcha?tag=0.2.4#681a5c6380373440f56f4c0bda2ffac5654df773" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3bd24de3df9ea98d75d929dc4df5d637832213d3deb61d2cfa5c9055ccdaea6b"
dependencies = [ dependencies = [
"actix", "actix",
"crossbeam-channel", "crossbeam-channel",

View file

@ -59,8 +59,7 @@ log = "0.4"
lazy_static = "1.4" lazy_static = "1.4"
libmcaptcha = { tag = "0.2.4", git = "https://github.com/mCaptcha/libmcaptcha", features = ["full"] } libmcaptcha = "0.2.4"
#libmcaptcha = { path = "../libmcaptcha", features = ["full"]}
rand = "0.8" rand = "0.8"

View file

@ -13,8 +13,7 @@ async-trait = "0.1.51"
thiserror = "1.0.30" thiserror = "1.0.30"
serde = { version = "1", features = ["derive"]} serde = { version = "1", features = ["derive"]}
url = { version = "2.2.2", features = ["serde"] } url = { version = "2.2.2", features = ["serde"] }
libmcaptcha = { version = "0.2.4", git = "https://github.com/mCaptcha/libmcaptcha", features = ["minimal"], default-features = false, tag = "0.2.4"} libmcaptcha = "0.2.4"
#libmcaptcha = { branch = "master", git = "https://github.com/mCaptcha/libmcaptcha", features = ["full"] }
[features] [features]
default = [] default = []