2021-06-01 15:45:24 +03:00
|
|
|
[package]
|
|
|
|
name = "mcaptcha-cache"
|
|
|
|
description = "mCaptcha Redis module that implements leaky bucket algorithm"
|
|
|
|
version = "0.1.0"
|
|
|
|
authors = ["realaravinth <realaravinth@batsense.net>"]
|
|
|
|
edition = "2018"
|
|
|
|
repository = "https://github.com/mcaptcha/cache"
|
|
|
|
homepage = "https://github.com/mcaptcha/cache"
|
|
|
|
license = "AGPLv3 or later version"
|
|
|
|
|
|
|
|
[lib]
|
|
|
|
crate-type = ["cdylib"]
|
|
|
|
name = "cache"
|
|
|
|
|
|
|
|
[dependencies]
|
2021-08-30 15:56:32 +03:00
|
|
|
redis-module = { version="0.23", features = ["experimental-api"]}
|
2021-06-01 15:45:24 +03:00
|
|
|
libc = "0.2"
|
2021-06-03 11:21:56 +03:00
|
|
|
serde_json = "1.0.64"
|
|
|
|
serde = {version = "1.0.126", features = ["derive"]}
|
2021-06-04 15:33:15 +03:00
|
|
|
lazy_static = "1.4.0"
|
|
|
|
rand = "0.8.3"
|
2021-06-06 14:05:14 +03:00
|
|
|
derive_more = "0.99"
|
2021-06-07 14:48:27 +03:00
|
|
|
libmcaptcha = { branch = "master", git = "https://github.com/mCaptcha/libmcaptcha", features = ["minimal"], default-features = false }
|
|
|
|
#libmcaptcha = { path = "../libmcaptcha", features = ["minimal"], default-features = false}
|
2021-06-01 15:45:24 +03:00
|
|
|
|
2021-06-05 11:27:40 +03:00
|
|
|
#[target.x86_64-unknown-linux-musl]
|
|
|
|
#linker = "cc"
|
|
|
|
|
|
|
|
[features]
|
|
|
|
test = ["redis-module/test"]
|