tmp22/Cargo.toml

47 lines
1,011 B
TOML
Raw Normal View History

2021-02-28 11:06:35 +05:30
[package]
2021-06-01 16:41:49 +05:30
name = "libmcaptcha"
2021-06-03 18:08:43 +05:30
version = "0.1.4"
2021-02-28 11:06:35 +05:30
authors = ["realaravinth <realaravinth@batsense.net>"]
2021-06-01 16:47:41 +05:30
description = "core of mCaptcha captcha system"
keywords = ["DDoS", "mcaptcha", "captcha", "pow"]
homepage = "https://mcaptcha.org"
repository = "https://github.com/realaravinth/libmcaptcha"
license = "AGPL-3.0"
2021-02-28 11:06:35 +05:30
edition = "2018"
readme = "README.md"
[dependencies]
2021-06-06 09:44:10 +05:30
actix = { version = "0.10", optional = true}
2021-03-05 21:52:41 +05:30
2021-02-28 11:06:35 +05:30
serde = "1.0.114"
serde_json = "1"
2021-03-05 21:52:41 +05:30
2021-06-06 09:44:10 +05:30
pretty_env_logger = {version = "0.4", optional = true }
log = {version = "0.4", optional = true }
2021-02-28 15:05:39 +05:30
derive_builder = "0.9"
derive_more = "0.99"
2021-03-05 21:52:41 +05:30
2021-06-06 09:44:10 +05:30
rand = {version = "0.8", optional = true }
pow_sha256 = { version = "0.2.1", git = "https://github.com/mcaptcha/pow_sha256", optional=true }
redis = { version = "0.20.1", features = ["tokio-comp","aio", "cluster"], optional=true }
2021-03-05 21:52:41 +05:30
2021-03-07 19:54:41 +05:30
[dev-dependencies]
2021-04-02 11:17:05 +05:30
actix-rt = "1"
2021-06-06 09:44:10 +05:30
[features]
default = [
"minimal",
"full",
"actix",
"rand",
"log",
"pretty_env_logger",
"pow_sha256",
"redis"
]
minimal = []
full = []