2021-10-04 21:21:10 +05:30
|
|
|
[package]
|
|
|
|
name = "survey"
|
|
|
|
version = "0.1.0"
|
|
|
|
description = "Feedback agregator"
|
|
|
|
homepage = "https://github.com/mCaptcha/survey"
|
|
|
|
repository = "https://github.com/mCaptcha/survey"
|
|
|
|
documentation = "https://github.con/mCaptcha/survey"
|
|
|
|
readme = "https://github.com/mCaptcha/survey/blob/master/README.md"
|
|
|
|
license = "AGPLv3 or later version"
|
|
|
|
authors = ["realaravinth <realaravinth@batsense.net>"]
|
2023-10-17 21:53:35 +05:30
|
|
|
edition = "2021"
|
2021-10-04 21:21:10 +05:30
|
|
|
default-run = "survey"
|
|
|
|
build = "build.rs"
|
|
|
|
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[[bin]]
|
|
|
|
name = "survey"
|
|
|
|
path = "./src/main.rs"
|
|
|
|
|
|
|
|
[[bin]]
|
|
|
|
name = "tests-migrate"
|
|
|
|
path = "./src/tests-migrate.rs"
|
|
|
|
|
|
|
|
[dependencies]
|
2023-07-02 00:17:29 +05:30
|
|
|
actix-web = "4.3"
|
2023-01-24 19:22:39 +05:30
|
|
|
actix-identity = "0.4.0"
|
2022-03-26 12:45:36 +05:30
|
|
|
actix-session = { version = "0.6.1", features = ["cookie-session"]}
|
|
|
|
actix-http = "3.0.4"
|
2021-10-04 21:21:10 +05:30
|
|
|
actix-rt = "2"
|
2023-01-24 19:22:39 +05:30
|
|
|
actix-cors = "0.6.1"
|
2023-03-12 20:10:13 +05:30
|
|
|
actix-files = "0.6.0"
|
2021-10-04 21:21:10 +05:30
|
|
|
actix-service = "2.0.0"
|
2021-10-14 14:44:24 +05:30
|
|
|
#actix = "0.12"
|
2023-10-17 21:53:35 +05:30
|
|
|
actix-web-codegen-const-routes = "0.2.0"
|
2021-10-04 21:21:10 +05:30
|
|
|
|
2021-10-14 14:44:24 +05:30
|
|
|
#libmcaptcha = { branch = "master", git = "https://github.com/mCaptcha/libmcaptcha", features = ["full"] }
|
2021-10-04 21:21:10 +05:30
|
|
|
|
|
|
|
futures = "0.3.15"
|
|
|
|
|
2024-07-23 07:34:51 +05:30
|
|
|
sqlx = { version = "0.8", features = [ "runtime-tokio-rustls", "postgres", "time", "uuid" ] }
|
2021-10-04 21:21:10 +05:30
|
|
|
|
2023-10-17 21:53:35 +05:30
|
|
|
#argon2-creds = "0.2.3"
|
2021-10-11 09:56:15 +05:30
|
|
|
argon2-creds = { branch = "master", git = "https://github.com/realaravinth/argon2-creds"}
|
|
|
|
|
2024-06-08 01:25:59 +05:30
|
|
|
derive_builder = "0.20"
|
2024-06-08 13:07:10 +05:30
|
|
|
validator = { version = "0.18", features = ["derive"]}
|
2021-10-04 21:21:10 +05:30
|
|
|
derive_more = "0.99"
|
|
|
|
|
2024-06-08 01:25:47 +05:30
|
|
|
config = "0.14"
|
2021-10-04 21:21:10 +05:30
|
|
|
|
|
|
|
serde = "1"
|
|
|
|
serde_json = "1"
|
|
|
|
|
2023-10-17 21:53:35 +05:30
|
|
|
pretty_env_logger = "0.5"
|
2021-10-04 21:21:10 +05:30
|
|
|
log = "0.4"
|
|
|
|
|
|
|
|
lazy_static = "1.4"
|
2023-01-24 19:22:39 +05:30
|
|
|
url = { version = "2.2", features = ["serde"] }
|
2021-10-12 21:56:16 +05:30
|
|
|
urlencoding = "2.1.0"
|
2021-10-04 21:21:10 +05:30
|
|
|
|
|
|
|
rand = "0.8"
|
2023-10-17 21:53:35 +05:30
|
|
|
uuid = { version = "1.4.1", features = ["v4", "serde"] }
|
2021-10-04 21:21:10 +05:30
|
|
|
|
|
|
|
mime_guess = "2.0.3"
|
2024-06-08 13:08:17 +05:30
|
|
|
rust-embed = "8.0.0"
|
2023-10-17 21:53:35 +05:30
|
|
|
#libcachebust = "0.3.0"
|
2021-10-04 21:21:10 +05:30
|
|
|
cache-buster = { git = "https://github.com/realaravinth/cache-buster" }
|
|
|
|
mime = "0.3.16"
|
|
|
|
|
2023-01-24 19:22:39 +05:30
|
|
|
#sailfish = "0.3.2"
|
|
|
|
tracing = { version = "0.1.37", features = ["log"] }
|
2023-02-01 15:27:26 +05:30
|
|
|
tera = { version="1.17.1", features=["builtins"]}
|
2023-10-20 01:40:32 +05:30
|
|
|
tokio = { version = "1.25.0", features = ["fs", "macros"] }
|
2023-02-02 21:55:13 +05:30
|
|
|
csv-async = { version = "1.2.5", features = ["serde", "tokio"] }
|
2023-07-02 00:17:29 +05:30
|
|
|
async-trait = "0.1.68"
|
2024-06-08 13:06:55 +05:30
|
|
|
reqwest = { version = "0.12.0", features = ["json", "gzip", "native-tls-vendored"] }
|
2021-10-04 21:21:10 +05:30
|
|
|
|
2021-10-14 14:44:24 +05:30
|
|
|
#tokio = "1.11.0"
|
2021-10-04 21:21:10 +05:30
|
|
|
|
2022-03-26 12:45:36 +05:30
|
|
|
[dependencies.actix-auth-middleware]
|
|
|
|
branch = "v4"
|
|
|
|
features = ["actix_identity_backend"]
|
|
|
|
git = "https://github.com/realaravinth/actix-auth-middleware"
|
|
|
|
version = "0.2"
|
|
|
|
|
|
|
|
|
2021-10-04 21:21:10 +05:30
|
|
|
[build-dependencies]
|
|
|
|
#serde_yaml = "0.8.17"
|
2024-07-23 07:34:51 +05:30
|
|
|
sqlx = { version = "0.8", features = [ "runtime-tokio-rustls", "uuid", "postgres", "time"] }
|
2021-10-04 21:21:10 +05:30
|
|
|
serde_json = "1"
|
|
|
|
cache-buster = { version = "0.2.0", git = "https://github.com/realaravinth/cache-buster" }
|
|
|
|
mime = "0.3.16"
|
2023-02-07 18:28:53 +05:30
|
|
|
|
|
|
|
[dev-dependencies]
|
|
|
|
mktemp = "0.5.0"
|