2023-01-28 00:22:59 +01:00
|
|
|
[package]
|
|
|
|
name = "terminwahl_back"
|
|
|
|
version = "0.1.0"
|
|
|
|
edition = "2021"
|
|
|
|
default-run = "terminwahl_back"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
|
|
|
|
[dependencies]
|
2023-02-01 22:28:55 +01:00
|
|
|
futures = "*"
|
2024-02-07 15:03:46 +01:00
|
|
|
actix-web = "4.5"
|
2023-01-28 00:22:59 +01:00
|
|
|
actix-rt = "2.8"
|
|
|
|
actix-files = "0.6.2"
|
2024-02-07 15:03:46 +01:00
|
|
|
actix-session = { version = "0.9", features = ["cookie-session"] }
|
2023-01-28 00:22:59 +01:00
|
|
|
# sqlx is currently on version 0.3.5 in this project due to breaking changes introduced in versions
|
|
|
|
# beyond 0.4.0, which changed the return type of 'exectute' to a 'Done'. Also the row parsing related
|
|
|
|
# traits have been altered. The overall architecture of this CRUD can still be reproduced with a
|
|
|
|
# newer version of sqlx, and the version will be updated in the future.
|
2024-02-07 15:03:46 +01:00
|
|
|
sqlx = { version = "0.7", features = [
|
|
|
|
"sqlite",
|
|
|
|
"runtime-tokio-rustls",
|
|
|
|
"chrono",
|
|
|
|
] }
|
2023-01-28 00:22:59 +01:00
|
|
|
uuid = { version = "1.2", features = ["serde", "v4"] }
|
|
|
|
dotenv = "*"
|
2024-02-07 15:03:46 +01:00
|
|
|
env_logger = "0.11"
|
2023-01-28 00:22:59 +01:00
|
|
|
log = "*"
|
2024-02-07 15:03:46 +01:00
|
|
|
lettre = { version = "0.11", default-features = false, features = [
|
|
|
|
"smtp-transport",
|
|
|
|
"tokio1-rustls-tls",
|
|
|
|
"hostname",
|
|
|
|
"builder",
|
|
|
|
"pool",
|
|
|
|
] }
|
2023-01-31 22:26:26 +01:00
|
|
|
rand = "*"
|
2024-02-07 15:03:46 +01:00
|
|
|
handlebars = { version = "5.1", features = ["dir_source"] }
|
2023-02-01 22:28:55 +01:00
|
|
|
glob = "*"
|
2023-01-29 22:56:33 +01:00
|
|
|
|
2024-02-07 15:03:46 +01:00
|
|
|
terminwahl_typen = { path = "../terminwahl_typen/" }
|
|
|
|
serde = { workspace = true }
|
|
|
|
serde_json = { workspace = true }
|
|
|
|
chrono = { workspace = true }
|