2021-03-09 15:58:54 +05:30
|
|
|
[package]
|
2021-06-01 17:33:47 +05:30
|
|
|
name = "mcaptcha"
|
2021-03-09 15:58:54 +05:30
|
|
|
version = "0.1.0"
|
2021-03-24 12:43:32 +05:30
|
|
|
description = "mCaptcha - a PoW-based CAPTCHA system"
|
|
|
|
homepage = "https://mcaptcha.org"
|
2021-06-01 17:33:47 +05:30
|
|
|
repository = "https://github.com/mCaptcha/mCaptcha"
|
2021-03-24 12:43:32 +05:30
|
|
|
documentation = "https://mcaptcha.org/docs/"
|
2021-04-30 11:14:29 +05:30
|
|
|
license = "AGPLv3 or later version"
|
2021-03-09 15:58:54 +05:30
|
|
|
authors = ["realaravinth <realaravinth@batsense.net>"]
|
|
|
|
edition = "2018"
|
2021-06-01 17:33:47 +05:30
|
|
|
default-run = "mcaptcha"
|
2021-03-24 12:43:32 +05:30
|
|
|
build = "build.rs"
|
2021-03-09 15:58:54 +05:30
|
|
|
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
|
2021-03-10 20:43:25 +05:30
|
|
|
[[bin]]
|
2021-06-01 17:33:47 +05:30
|
|
|
name = "mcaptcha"
|
2021-03-10 20:43:25 +05:30
|
|
|
path = "./src/main.rs"
|
|
|
|
|
|
|
|
[[bin]]
|
|
|
|
name = "tests-migrate"
|
|
|
|
path = "./src/tests-migrate.rs"
|
|
|
|
|
2021-03-09 15:58:54 +05:30
|
|
|
[dependencies]
|
2021-03-29 21:07:01 +05:30
|
|
|
actix-web = "3.3.2"
|
2021-04-02 11:28:11 +05:30
|
|
|
actix = "0.10"
|
2021-03-11 16:45:43 +05:30
|
|
|
actix-identity = "0.3"
|
|
|
|
actix-http = "2.2"
|
2021-03-29 21:07:01 +05:30
|
|
|
actix-rt = "1"
|
2021-04-11 23:23:14 +05:30
|
|
|
actix-cors= "0.5.4"
|
2021-05-01 11:28:39 +05:30
|
|
|
actix-service = "1.0.6"
|
2021-05-15 21:36:52 +05:30
|
|
|
my-codegen = {package = "actix-web-codegen", git ="https://github.com/realaravinth/actix-web"}
|
2021-04-11 23:23:14 +05:30
|
|
|
|
|
|
|
|
2021-03-30 20:49:09 +05:30
|
|
|
mime_guess = "2.0.3"
|
|
|
|
rust-embed = "5.9.0"
|
2021-04-30 21:34:44 +05:30
|
|
|
cache-buster = { version = "0.2.0", git = "https://github.com/realaravinth/cache-buster" }
|
2021-03-26 22:18:01 +05:30
|
|
|
|
2021-04-10 17:00:54 +05:30
|
|
|
futures = "0.3.14"
|
2021-03-09 15:58:54 +05:30
|
|
|
|
2021-05-12 17:37:11 +05:30
|
|
|
sqlx = { version = "0.4.0", features = [ "runtime-actix-rustls", "postgres", "time", "offline" ] }
|
2021-06-01 17:33:47 +05:30
|
|
|
argon2-creds = { version = "0.2.1", git = "https://github.com/realaravinth/argon2-creds"}
|
2021-03-24 14:31:11 +05:30
|
|
|
config = "0.11"
|
|
|
|
validator = { version = "0.13", features = ["derive"]}
|
2021-03-09 15:58:54 +05:30
|
|
|
|
2021-04-10 17:00:54 +05:30
|
|
|
derive_builder = "0.10"
|
2021-03-09 15:58:54 +05:30
|
|
|
derive_more = "0.99"
|
|
|
|
|
|
|
|
serde = "1"
|
|
|
|
serde_json = "1"
|
2021-04-10 17:00:54 +05:30
|
|
|
serde_yaml = "0.8.17"
|
2021-03-09 15:58:54 +05:30
|
|
|
|
|
|
|
url = "2.2"
|
|
|
|
|
2021-03-10 20:43:25 +05:30
|
|
|
pretty_env_logger = "0.4"
|
2021-03-09 15:58:54 +05:30
|
|
|
log = "0.4"
|
|
|
|
|
|
|
|
lazy_static = "1.4"
|
|
|
|
|
2021-03-10 20:43:25 +05:30
|
|
|
|
2021-04-02 11:28:11 +05:30
|
|
|
# m_captcha = { version = "0.1.2", git = "https://github.com/mCaptcha/mCaptcha" }
|
2021-06-11 19:31:03 +05:30
|
|
|
libmcaptcha = { branch = "master", git = "https://github.com/mCaptcha/libmcaptcha", features = ["full"] }
|
|
|
|
#libmcaptcha = { path = "../libmcaptcha", features = ["full"]}
|
2021-03-10 20:43:25 +05:30
|
|
|
|
2021-03-11 16:45:43 +05:30
|
|
|
rand = "0.8"
|
2021-03-30 13:47:42 +05:30
|
|
|
|
|
|
|
sailfish = "0.3.2"
|
2021-04-01 15:23:36 +05:30
|
|
|
|
2021-05-08 13:59:13 +05:30
|
|
|
mime = "0.3.16"
|
|
|
|
|
2021-04-01 15:23:36 +05:30
|
|
|
[build-dependencies]
|
2021-04-10 17:00:54 +05:30
|
|
|
serde_yaml = "0.8.17"
|
2021-04-01 15:23:36 +05:30
|
|
|
serde_json = "1"
|
2021-04-10 17:00:54 +05:30
|
|
|
yaml-rust = "0.4.5"
|
2021-04-30 21:34:44 +05:30
|
|
|
cache-buster = { version = "0.2.0", git = "https://github.com/realaravinth/cache-buster" }
|
2021-04-09 14:21:43 +05:30
|
|
|
mime = "0.3.16"
|
2021-04-10 20:19:59 +05:30
|
|
|
|
|
|
|
[dev-dependencies]
|
|
|
|
pow_sha256 = { version = "0.2.1", git = "https://github.com/mcaptcha/pow_sha256" }
|
2021-06-12 13:44:18 +05:30
|
|
|
|
|
|
|
|
|
|
|
[target.x86_64-unknown-linux-musl]
|
|
|
|
linker = "x86_64"
|