mCaptcha/Cargo.toml

101 lines
2.6 KiB
TOML
Raw Normal View History

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 = "2021"
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]
2022-05-07 16:10:14 +05:30
actix-web = "4.0.1"
actix = "0.13"
actix-identity = "0.4.0"
actix-http = "3.0.4"
2021-06-30 20:13:12 +05:30
actix-rt = "2"
2022-05-07 16:10:14 +05:30
actix-cors = "0.6.1"
2021-06-30 20:13:12 +05:30
actix-service = "2.0.0"
2022-05-07 16:10:14 +05:30
#my-codegen = {version="0.5.0-beta.5", package = "actix-web-codegen", git ="https://github.com/realaravinth/actix-web"}
2021-03-30 20:49:09 +05:30
mime_guess = "2.0.3"
2022-05-07 16:10:14 +05:30
rust-embed = "6.4.0"
2021-07-03 22:32:40 +05:30
cache-buster = { git = "https://github.com/realaravinth/cache-buster" }
2021-03-26 22:18:01 +05:30
2021-06-30 20:13:12 +05:30
futures = "0.3.15"
2021-11-29 17:32:33 +05:30
tokio = { version = "1.14", features = ["sync"]}
2021-03-09 15:58:54 +05:30
2022-05-07 16:10:14 +05:30
sqlx = { version = "0.5.13", features = [ "runtime-actix-rustls", "postgres", "time", "offline" ] }
2021-06-13 13:35:09 +05:30
argon2-creds = { branch = "master", git = "https://github.com/realaravinth/argon2-creds"}
2021-06-29 19:42:07 +05:30
#argon2-creds = { version="*", path = "../../argon2-creds/" }
config = "0.11"
2022-05-07 16:10:14 +05:30
validator = { version = "0.15", features = ["derive"]}
2021-03-09 15:58:54 +05:30
2022-05-07 16:10:14 +05:30
derive_builder = "0.11"
2021-03-09 15:58:54 +05:30
derive_more = "0.99"
serde = "1"
serde_json = "1"
url = "2.2"
2022-05-07 16:10:14 +05:30
urlencoding = "2.1.0"
2021-03-09 15:58:54 +05:30
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-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
rand = "0.8"
2021-03-30 13:47:42 +05:30
2022-05-07 16:10:14 +05:30
sailfish = "0.4.0"
2021-04-01 15:23:36 +05:30
2021-05-08 13:59:13 +05:30
mime = "0.3.16"
2021-06-29 21:08:40 +05:30
lettre = { version = "0.10.0-rc.3", features = [
"builder",
"tokio1",
"tokio1-native-tls",
"smtp-transport"
]}
2021-07-15 18:07:12 +05:30
openssl = { version = "0.10.29", features = ["vendored"] }
2022-05-07 16:10:14 +05:30
[dependencies.my-codegen]
git = "https://github.com/realaravinth/actix-web"
package = "actix-web-codegen"
[dependencies.actix-auth-middleware]
version = "0.2.0"
git = "https://github.com/realaravinth/actix-auth-middleware"
features = ["actix_identity_backend"]
2021-06-29 21:08:40 +05:30
2021-04-01 15:23:36 +05:30
[build-dependencies]
serde_json = "1"
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"
2022-05-07 16:10:14 +05:30
sqlx = { version = "0.5.13", features = [ "runtime-actix-rustls", "postgres", "time", "offline" ] }
2021-04-10 20:19:59 +05:30
[dev-dependencies]
pow_sha256 = { version = "0.2.1", git = "https://github.com/mcaptcha/pow_sha256" }
2022-05-07 16:10:14 +05:30
awc = "3.0.0"
2021-06-12 13:44:18 +05:30
[target.x86_64-unknown-linux-musl]
linker = "x86_64"