X-Git-Url: https://git.euphorik.ch/index.cgi?a=blobdiff_plain;f=backend%2FCargo.toml;h=328f1ef49695f19e59a864d0ee5bb2816df93b14;hb=HEAD;hp=d4ac84938dd5c3fec02c7a1512789ddcc4e2d2b7;hpb=4971d7f0afb67499e0cbd8d53bf649dea2d74d6c;p=recipes.git diff --git a/backend/Cargo.toml b/backend/Cargo.toml index d4ac849..3b214fd 100644 --- a/backend/Cargo.toml +++ b/backend/Cargo.toml @@ -1,18 +1,47 @@ -[package] -name = "recipes" -version = "1.0.0" -authors = ["Grégory Burri "] -edition = "2018" - -[dependencies] -actix-web = "1.0" -actix-files = "0.1" -askama = "0.8" # Template system -serde = { version = "1.0", features = ["derive"] } -listenfd = "0.3" # To watch file modifications and automatically launch a build process (only used in dev/debug). -ron = "0.5" # Rust object notation, to load configuration files. -itertools = "0.8" -sqlite = "0.25" -env_logger = "0.6" - -common = { path = "../common" } +[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"