2021-03-09 13:28:54 +03:00
|
|
|
[package]
|
|
|
|
name = "guard"
|
|
|
|
version = "0.1.0"
|
2021-03-24 10:13:32 +03:00
|
|
|
description = "mCaptcha - a PoW-based CAPTCHA system"
|
|
|
|
homepage = "https://mcaptcha.org"
|
|
|
|
repository = "https://github.com/mCaptcha/guard"
|
|
|
|
documentation = "https://mcaptcha.org/docs/"
|
|
|
|
lisense = "AGPLv3 or later version"
|
2021-03-09 13:28:54 +03:00
|
|
|
authors = ["realaravinth <realaravinth@batsense.net>"]
|
|
|
|
edition = "2018"
|
2021-03-10 18:13:25 +03:00
|
|
|
default-run = "guard"
|
2021-03-24 10:13:32 +03:00
|
|
|
build = "build.rs"
|
2021-03-09 13:28:54 +03:00
|
|
|
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
|
2021-03-10 18:13:25 +03:00
|
|
|
[[bin]]
|
|
|
|
name = "guard"
|
|
|
|
path = "./src/main.rs"
|
|
|
|
|
|
|
|
[[bin]]
|
|
|
|
name = "tests-migrate"
|
|
|
|
path = "./src/tests-migrate.rs"
|
|
|
|
|
2021-03-09 13:28:54 +03:00
|
|
|
[dependencies]
|
2021-03-29 18:37:01 +03:00
|
|
|
actix-web = "3.3.2"
|
2021-03-24 12:01:11 +03:00
|
|
|
actix = "0.11"
|
2021-03-11 14:15:43 +03:00
|
|
|
actix-identity = "0.3"
|
|
|
|
actix-http = "2.2"
|
2021-03-29 18:37:01 +03:00
|
|
|
actix-rt = "1"
|
2021-03-30 11:17:42 +03:00
|
|
|
actix-files = "0.4"
|
2021-03-30 18:19:09 +03:00
|
|
|
mime_guess = "2.0.3"
|
|
|
|
rust-embed = "5.9.0"
|
2021-03-26 19:48:01 +03:00
|
|
|
|
|
|
|
futures = "0.3"
|
2021-03-09 13:28:54 +03:00
|
|
|
|
2021-03-29 18:37:01 +03:00
|
|
|
sqlx = { version = "0.4.0", features = [ "runtime-actix-rustls", "postgres" ] }
|
2021-03-11 13:00:05 +03:00
|
|
|
argon2-creds = { version = "0.2", git = "https://github.com/realaravinth/argon2-creds", commit = "61f2d1d" }
|
2021-03-09 13:28:54 +03:00
|
|
|
|
2021-03-24 12:01:11 +03:00
|
|
|
config = "0.11"
|
|
|
|
validator = { version = "0.13", features = ["derive"]}
|
2021-03-09 13:28:54 +03:00
|
|
|
|
|
|
|
derive_builder = "0.9"
|
|
|
|
derive_more = "0.99"
|
|
|
|
|
|
|
|
serde = "1"
|
|
|
|
serde_json = "1"
|
2021-04-01 12:53:36 +03:00
|
|
|
serde_yaml = "0.8"
|
2021-03-09 13:28:54 +03:00
|
|
|
|
|
|
|
url = "2.2"
|
|
|
|
|
2021-03-10 18:13:25 +03:00
|
|
|
pretty_env_logger = "0.4"
|
2021-03-09 13:28:54 +03:00
|
|
|
log = "0.4"
|
|
|
|
|
|
|
|
lazy_static = "1.4"
|
|
|
|
|
2021-03-10 18:13:25 +03:00
|
|
|
|
2021-03-24 12:01:11 +03:00
|
|
|
m_captcha = { version = "0.1.2", git = "https://github.com/mCaptcha/mCaptcha" }
|
2021-03-10 18:13:25 +03:00
|
|
|
|
2021-03-11 14:15:43 +03:00
|
|
|
rand = "0.8"
|
2021-03-30 11:17:42 +03:00
|
|
|
|
|
|
|
sailfish = "0.3.2"
|
2021-04-01 12:53:36 +03:00
|
|
|
|
|
|
|
[build-dependencies]
|
|
|
|
serde_yaml = "0.8"
|
|
|
|
serde_json = "1"
|
|
|
|
yaml-rust = "0.4"
|