32 lines
1.2 KiB
TOML
32 lines
1.2 KiB
TOML
[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]
|
|
futures = "*"
|
|
actix-web = "4.3"
|
|
actix-rt = "2.8"
|
|
actix-files = "0.6.2"
|
|
actix-session = { version = "0.7", features = ["cookie-session"] }
|
|
# 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.
|
|
sqlx = { version = "0.6.2", features = ["sqlite", "runtime-actix-rustls", "chrono"] }
|
|
uuid = { version = "1.2", features = ["serde", "v4"] }
|
|
dotenv = "*"
|
|
env_logger = "0.10"
|
|
log = "*"
|
|
lettre = {version="0.10", default-features = false, features = ["smtp-transport", "tokio1-rustls-tls", "hostname", "builder", "pool"]}
|
|
rand = "*"
|
|
handlebars = {version="4.3", features=["dir_source"]}
|
|
glob = "*"
|
|
|
|
terminwahl_typen={path="../terminwahl_typen/"}
|
|
serde = {workspace = true}
|
|
serde_json={workspace=true}
|
|
chrono={workspace=true}
|