Simon Bruder
5b3dd34312
This architecture was started when the project still used Diesel. Now that it uses SQLx, less things are done in Rust and more are done in SQL. This commit now moves more of the query logic into SQL, which should lead to more efficient queries and less moving data around.
39 lines
1.2 KiB
TOML
39 lines
1.2 KiB
TOML
# SPDX-FileCopyrightText: 2024 Simon Bruder <simon@sbruder.de>
|
|
#
|
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
[package]
|
|
name = "li7y"
|
|
version = "0.0.0"
|
|
authors = ["Simon Bruder <simon@sbruder.de>"]
|
|
edition = "2021"
|
|
license = "AGPL-3.0-or-later"
|
|
|
|
[dependencies]
|
|
actix-identity = "0.7.1"
|
|
actix-session = { version = "0.9.0", features = ["cookie-session"] }
|
|
actix-web = { version = "4.8.0", features = ["cookies"] }
|
|
barcoders = { version = "2.0.0", default-features = false, features = ["std"] }
|
|
base64 = "0.22.1"
|
|
datamatrix = "0.3.1"
|
|
enum-iterator = "2.1.0"
|
|
env_logger = "0.11.3"
|
|
futures-util = "0.3.30"
|
|
itertools = "0.13.0"
|
|
log = "0.4.21"
|
|
maud = { version = "0.26.0", features = ["actix-web"] }
|
|
mime = "0.3.17"
|
|
mime_guess = "2.0.5"
|
|
printpdf = "0.7.0"
|
|
rust-embed = { version = "8.5.0", features = ["actix"] }
|
|
serde = { version = "1.0.203", features = ["serde_derive"] }
|
|
serde_urlencoded = "0.7.1"
|
|
serde_variant = "0.1.3"
|
|
sqlx = { version = "0.7.4", features = ["runtime-tokio", "postgres", "uuid", "time"] }
|
|
thiserror = "1.0.61"
|
|
time = { version = "0.3.36", features = ["serde"] }
|
|
uuid = { version = "1.9.0", features = ["serde", "v4"] }
|
|
|
|
[profile.dev.package.sqlx-macros]
|
|
opt-level = 3
|