Replace Rusqlite by Sqlx and Actix by Axum (A lot of changes)
This commit is contained in:
parent
57d7e7a3ce
commit
980c5884a4
28 changed files with 2860 additions and 2262 deletions
|
|
@ -5,36 +5,48 @@ authors = ["Grégory Burri <greg.burri@gmail.com>"]
|
|||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
common = {path = "../common"}
|
||||
common = { path = "../common" }
|
||||
|
||||
actix-web = "4"
|
||||
actix-files = "0.6"
|
||||
axum = { version = "0.7", features = ["macros"] }
|
||||
axum-extra = { version = "0.9", features = ["cookie"] }
|
||||
tokio = { version = "1", features = ["full"] }
|
||||
tower = { version = "0.5", features = ["util"] }
|
||||
tower-http = { version = "0.6", features = ["fs", "trace"] }
|
||||
|
||||
tracing = "0.1"
|
||||
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
|
||||
|
||||
chrono = "0.4"
|
||||
|
||||
ron = "0.8" # Rust object notation, to load configuration files.
|
||||
serde = {version = "1.0", features = ["derive"]}
|
||||
# Rust object notation, to load configuration files.
|
||||
ron = "0.8"
|
||||
serde = { version = "1.0", features = ["derive"] }
|
||||
|
||||
itertools = "0.10"
|
||||
clap = {version = "4", features = ["derive"]}
|
||||
itertools = "0.13"
|
||||
clap = { version = "4", features = ["derive"] }
|
||||
|
||||
log = "0.4"
|
||||
env_logger = "0.10"
|
||||
sqlx = { version = "0.8", features = ["sqlite", "runtime-tokio", "chrono"] }
|
||||
|
||||
r2d2_sqlite = "0.21" # Connection pool with rusqlite (SQLite access).
|
||||
r2d2 = "0.8"
|
||||
rusqlite = {version = "0.28", features = ["bundled", "chrono"]}
|
||||
|
||||
futures = "0.3" # Needed by askam with the feature 'with-actix-web'.
|
||||
|
||||
askama = {version = "0.12", features = ["with-actix-web", "mime", "mime_guess", "markdown"]}
|
||||
askama_actix = "0.14"
|
||||
|
||||
argon2 = {version = "0.5", features = ["default", "std"]}
|
||||
rand_core = {version = "0.6", features = ["std"]}
|
||||
askama = { version = "0.12", features = [
|
||||
"with-axum",
|
||||
"mime",
|
||||
"mime_guess",
|
||||
"markdown",
|
||||
] }
|
||||
askama_axum = "0.4"
|
||||
|
||||
argon2 = { version = "0.5", features = ["default", "std"] }
|
||||
rand_core = { version = "0.6", features = ["std"] }
|
||||
rand = "0.8"
|
||||
|
||||
lettre = {version = "0.10", default-features = false, features = ["smtp-transport", "pool", "hostname", "builder", "rustls-tls"]}
|
||||
lettre = { version = "0.11", default-features = false, features = [
|
||||
"smtp-transport",
|
||||
"pool",
|
||||
"hostname",
|
||||
"builder",
|
||||
"tokio1",
|
||||
"tokio1-rustls-tls",
|
||||
] }
|
||||
|
||||
derive_more = "0.99"
|
||||
derive_more = { version = "1", features = ["full"] }
|
||||
thiserror = "1"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue