X-Git-Url: http://git.euphorik.ch/?a=blobdiff_plain;f=backend%2FCargo.toml;h=cb96228af51b68db90bf8ca775bba66142495f49;hb=HEAD;hp=7f7e2e164347570f3a05ac21f6feba56cd54789a;hpb=e6a0055ac1429d96ce37ab593e571a67b63dec63;p=recipes.git diff --git a/backend/Cargo.toml b/backend/Cargo.toml index 7f7e2e1..328f1ef 100644 --- a/backend/Cargo.toml +++ b/backend/Cargo.toml @@ -2,21 +2,39 @@ name = "recipes" version = "1.0.0" authors = ["Grégory Burri "] -edition = "2018" +edition = "2021" [dependencies] -actix-web = "2.0" -actix-rt = "1.0" -actix-files = "0.2" -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" -env_logger = "0.7" - -common = { path = "../common" } - -[dependencies.rusqlite] -version = "0.21" -features = ["bundled"] \ No newline at end of file +common = {path = "../common"} + +actix-web = "4" +actix-files = "0.6" + +chrono = "0.4" + +ron = "0.8" # Rust object notation, to load configuration files. +serde = {version = "1.0", features = ["derive"]} + +itertools = "0.10" +clap = {version = "4", features = ["derive"]} + +log = "0.4" +env_logger = "0.9" + +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.11", features = ["with-actix-web", "mime", "mime_guess", "markdown"]} +askama_actix = "0.13" + +argon2 = {version = "0.4", 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"]} + +derive_more = "0.99" \ No newline at end of file