X-Git-Url: http://git.euphorik.ch/?a=blobdiff_plain;f=backend%2FCargo.toml;h=1c22b3c56180ce0f31192a3c19a99e8921859a01;hb=e1d2ac7d318ed90b941bdc9911d6c22474c1f535;hp=5a4b1e17c1aa9caf67e05475442483f6b3e0134d;hpb=c4620d6f981e84059c464604969a55ff085152f6;p=valheim_web.git diff --git a/backend/Cargo.toml b/backend/Cargo.toml index 5a4b1e1..1c22b3c 100644 --- a/backend/Cargo.toml +++ b/backend/Cargo.toml @@ -2,18 +2,23 @@ name = "valheim_web" version = "1.0.0" authors = ["Grégory Burri "] -edition = "2018" +edition = "2021" [dependencies] -actix-web = "2" -actix-rt = "1" -actix-files = "0.2" +actix-web = "4" +actix-files = "0.6" +askama_actix = "0.13" + serde = { version = "1.0", features = ["derive"] } -ron = "0.6" # Rust object notation, to load configuration files. +ron = "0.7" # Rust object notation, to load configuration files. itertools = "0.10" -sysinfo = "0.16" +chrono = "0.4" + +sysinfo = "0.23" + +cached = "0.34" futures = "0.3" # Needed by askam with the feature 'with-actix-web'. @@ -21,5 +26,8 @@ common = { path = "../common" } # Template system. [dependencies.askama] -version = "0.9" +version = "0.11" features = ["with-actix-web"] + +[target.'cfg(unix)'.dependencies] +systemd = "0.10"