survey/Cargo.toml

96 lines
2.6 KiB
TOML
Raw Normal View History

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>"]
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]
actix-web = "4.3"
actix-identity = "0.8.0"
actix-session = { version = "0.10.0", features = ["cookie-session"]}
actix-http = "3.0.4"
2021-10-04 21:21:10 +05:30
actix-rt = "2"
actix-cors = "0.6.1"
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"
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"
sqlx = { version = "0.8", features = [ "runtime-tokio-rustls", "postgres", "time", "uuid" ] }
2021-10-04 21:21:10 +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"}
derive_builder = "0.20"
validator = { version = "0.18", features = ["derive"]}
2021-10-04 21:21:10 +05:30
derive_more = "0.99"
config = "0.14"
2021-10-04 21:21:10 +05:30
serde = "1"
serde_json = "1"
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"] }
urlencoding = "2.1.0"
2021-10-04 21:21:10 +05:30
rand = "0.8"
uuid = { version = "1.4.1", features = ["v4", "serde"] }
2021-10-04 21:21:10 +05:30
mime_guess = "2.0.3"
rust-embed = "8.0.0"
#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"]}
tokio = { version = "1.25.0", features = ["fs", "macros"] }
csv-async = { version = "1.2.5", features = ["serde", "tokio"] }
async-trait = "0.1.68"
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
[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"
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"
[dev-dependencies]
mktemp = "0.5.0"