[package]
name = "backend"
version = "0.1.0"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
actix-web = {version="*",features=["cookies"]}
actix-session = { version = "*", features = ["redis-actor-session"] }
env_logger = "*"
log = "*"
redis = { version = "0.24", default-features = false, features = ["tokio-comp", "connection-manager"] }
serde = {version = "*", features=["derive"]}
serde_json = "*"
rand = "*"
dotenvy="*"
diesel = {version= "2.1.0", default-features=false,features=["postgres"]} # no backend features need to be enabled
diesel-async = { version = "0.4.1", features = ["postgres","bb8"] }
futures-util = "0.3.21"
rustls = "0.20.8"
rustls-native-certs = "0.6.2"
tokio = { version = "1.2.0", default-features = false, features = ["macros", "rt-multi-thread"] }
tokio-postgres = "0.7.7"
tokio-postgres-rustls = "0.9.0"