mCaptcha-cache/Cargo.toml

33 lines
993 B
TOML
Raw Normal View History

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 = "2021"
2021-06-01 15:45:24 +03:00
repository = "https://github.com/mcaptcha/cache"
homepage = "https://github.com/mcaptcha/cache"
license = "AGPLv3 or later version"
[lib]
2023-10-16 20:40:18 +03:00
crate-type = ["cdylib", "rlib"]
2021-06-01 15:45:24 +03:00
name = "cache"
[dependencies]
2023-10-16 20:40:18 +03:00
redis-module = { version="2.0.5", features = ["min-redis-compatibility-version-6-0"], default-features=false}
2021-06-01 15:45:24 +03:00
libc = "0.2"
2022-05-06 14:53:54 +03:00
serde_json = "1.0.81"
serde = {version = "1.0.137", features = ["derive"]}
lazy_static = "1.4"
rand = "0.8"
derive_more = "0.99"
2023-10-17 12:51:21 +03:00
libmcaptcha = "0.2.4"
2021-06-07 14:48:27 +03:00
#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"
2023-10-16 20:40:18 +03:00
#[features]
#test = ["redis-module/test"]
[dev-dependencies]
redis-module = { version="2.0.5", features = ["min-redis-compatibility-version-7-2"], default-features=false}