forked from mCaptcha/cache
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
30 lines (26 loc) · 920 Bytes
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
[package]
name = "mcaptcha-cache"
description = "mCaptcha Redis module that implements leaky bucket algorithm"
version = "0.1.0"
authors = ["realaravinth <[email protected]>"]
edition = "2021"
repository = "https://github.com/mcaptcha/cache"
homepage = "https://github.com/mcaptcha/cache"
license = "AGPLv3 or later version"
[lib]
crate-type = ["cdylib"]
name = "cache"
[dependencies]
redis-module = { version="1", features = ["experimental-api"]}
libc = "0.2"
serde_json = "1.0.81"
serde = {version = "1.0.137", features = ["derive"]}
lazy_static = "1.4"
rand = "0.8"
derive_more = "0.99"
libmcaptcha = { branch = "master", git = "https://github.com/mCaptcha/libmcaptcha", features = ["minimal"], default-features = false }
#libmcaptcha = { path = "../libmcaptcha", features = ["minimal"], default-features = false}
#[target.x86_64-unknown-linux-musl]
#linker = "cc"
[features]
test = ["redis-module/test"]