X-Git-Url: https://git.euphorik.ch/?a=blobdiff_plain;f=backend%2FCargo.toml;h=cb96228af51b68db90bf8ca775bba66142495f49;hb=HEAD;hp=4c83bdc2a6861a3e469cca3f59eb24c85aa05a4b;hpb=4fbc599d074180920b20ee46e80cc0d3669a4129;p=recipes.git diff --git a/backend/Cargo.toml b/backend/Cargo.toml index 4c83bdc..3b214fd 100644 --- a/backend/Cargo.toml +++ b/backend/Cargo.toml @@ -1,30 +1,47 @@ -[package] -name = "recipes" -version = "1.0.0" -authors = ["Grégory Burri "] -edition = "2021" - -[dependencies] -actix-web = "4" -actix-files = "0.6" -serde = {version = "1.0", features = ["derive"]} - -time = "0.3" - -ron = "0.8" # Rust object notation, to load configuration files. -itertools = "0.10" -clap = {version = "4", features = ["derive"]} - -env_logger = "0.9" - -r2d2_sqlite = "0.21" # Connection pool with rusqlite (SQLite access). -r2d2 = "0.8" - -futures = "0.3" # Needed by askam with the feature 'with-actix-web'. - -common = {path = "../common"} - -askama = {version = "0.11", features = ["with-actix-web", "mime", "mime_guess"]} -askama_actix = "0.13" - -rusqlite = {version = "0.28", features = ["bundled"]} +[package] +name = "recipes" +version = "1.0.0" +authors = ["Grégory Burri "] +edition = "2024" + +[dependencies] +common = { path = "../common" } + +axum = { version = "0.8", features = ["macros"] } +axum-extra = { version = "0.10", features = ["cookie", "query"] } +tokio = { version = "1", features = ["signal", "rt-multi-thread"] } +tower = { version = "0.5", features = ["util", "limit", "buffer"] } +tower-http = { version = "0.6", features = ["fs", "trace"] } + +tracing = "0.1" +tracing-subscriber = { version = "0.3", features = ["env-filter"] } + +chrono = { version = "0.4", features = ["serde"] } + +# Rust object notation, to load configuration files. +ron = "0.9" +serde = { version = "1.0", features = ["derive"] } + +itertools = "0.14" +clap = { version = "4", features = ["derive"] } + +sqlx = { version = "0.8", features = ["sqlite", "runtime-tokio", "chrono"] } + +askama = "0.13" + +argon2 = { version = "0.5", features = ["default", "std"] } +rand_core = { version = "0.9", features = ["std"] } +rand = "0.9" +strum = "0.27" +strum_macros = "0.27" + +lettre = { version = "0.11", default-features = false, features = [ + "smtp-transport", + "pool", + "hostname", + "builder", + "tokio1", + "tokio1-rustls-tls", +] } + +thiserror = "2"