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