X-Git-Url: http://git.euphorik.ch/?a=blobdiff_plain;f=backend%2FCargo.toml;h=4c83bdc2a6861a3e469cca3f59eb24c85aa05a4b;hb=4fbc599d074180920b20ee46e80cc0d3669a4129;hp=06afa24470e107b86e6a18cb77613fef24c833a2;hpb=e2e54b8f43015738af860b005825dc809f5275ab;p=recipes.git diff --git a/backend/Cargo.toml b/backend/Cargo.toml index 06afa24..4c83bdc 100644 --- a/backend/Cargo.toml +++ b/backend/Cargo.toml @@ -2,30 +2,29 @@ name = "recipes" version = "1.0.0" authors = ["Grégory Burri "] -edition = "2018" +edition = "2021" [dependencies] -actix-web = "2" -actix-rt = "1" -actix-files = "0.2" -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.9" - -r2d2_sqlite = "0.15" # Connection pool with rusqlite (SQLite access). +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" } - -[dependencies.rusqlite] -version = "0.22" -features = ["bundled"] +common = {path = "../common"} -# Template system. -[dependencies.askama] -version = "0.9" -features = ["with-actix-web"] +askama = {version = "0.11", features = ["with-actix-web", "mime", "mime_guess"]} +askama_actix = "0.13" +rusqlite = {version = "0.28", features = ["bundled"]}