mirror of
https://github.com/mCaptcha/cache.git
synced 2024-11-28 03:49:41 +03:00
27 lines
725 B
TOML
27 lines
725 B
TOML
[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"
|
|
#crate-type = ["cdylib"]
|
|
#required-features = ["experimental-api"]
|
|
|
|
[lib]
|
|
crate-type = ["cdylib"]
|
|
name = "cache"
|
|
path = "./src/lib.rs"
|
|
|
|
[dependencies]
|
|
redis-module = { version="0.17", features = ["experimental-api"]}
|
|
libc = "0.2"
|
|
serde_json = "1.0.64"
|
|
serde = {version = "1.0.126", features = ["derive"]}
|
|
lazy_static = "1.4.0"
|
|
rand = "0.8.3"
|
|
|
|
[target.x86_64-unknown-linux-musl]
|
|
linker = "cc"
|