Update dependencies

This commit is contained in:
Lennart
2024-09-19 15:27:26 +02:00
parent 744c44b3be
commit 436d6fd41c
9 changed files with 388 additions and 238 deletions

View File

@@ -3,12 +3,11 @@ name = "rustical_auth"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
actix-web = "4.8"
actix-web = "4.9"
actix-web-httpauth = "0.8"
derive_more = "0.99"
derive_more = "1.0"
futures-util = "0.3"
password-auth = "1.0"
serde = { version = "1.0", features = ["derive"] }
thiserror = "1.0"

View File

@@ -1,13 +1,14 @@
use actix_web::{http::StatusCode, HttpResponse};
use derive_more::{Display, Error};
use derive_more::Display;
use thiserror::Error;
#[derive(Debug, Display, Error, Clone)]
pub enum Error {
#[display(fmt = "Internal server error")]
#[display("Internal server error")]
InternalError,
#[display(fmt = "Not found")]
#[display("Not found")]
NotFound,
#[display(fmt = "Bad request")]
#[display("Bad request")]
BadRequest,
Unauthorized,
}

View File

@@ -4,11 +4,10 @@ version = "0.1.0"
edition = "2021"
[dependencies]
actix-web = "4.8"
actix-web = "4.9"
actix-web-httpauth = "0.8"
anyhow = { version = "1.0", features = ["backtrace"] }
base64 = "0.22"
derive_more = "0.99"
futures-util = "0.3"
quick-xml = { version = "0.36", features = [
"serde",
@@ -21,7 +20,7 @@ rustical_dav = { path = "../dav/" }
rustical_auth = { path = "../auth/" }
serde = { version = "1.0", features = ["serde_derive", "derive"] }
serde_json = "1.0"
tokio = { version = "1.39", features = ["sync", "full"] }
tokio = { version = "1.40", features = ["sync", "full"] }
async-trait = "0.1"
thiserror = "1.0"
strum = { version = "0.26", features = ["strum_macros", "derive"] }

View File

@@ -4,11 +4,10 @@ version = "0.1.0"
edition = "2021"
[dependencies]
actix-web = "4.8"
actix-web = "4.9"
actix-web-httpauth = "0.8"
anyhow = { version = "1.0", features = ["backtrace"] }
base64 = "0.22"
derive_more = "0.99"
futures-util = "0.3"
quick-xml = { version = "0.36", features = [
"serde",
@@ -21,7 +20,7 @@ rustical_dav = { path = "../dav/" }
rustical_auth = { path = "../auth/" }
serde = { version = "1.0", features = ["serde_derive", "derive"] }
serde_json = "1.0"
tokio = { version = "1.39", features = ["sync", "full"] }
tokio = { version = "1.40", features = ["sync", "full"] }
async-trait = "0.1"
thiserror = "1.0"
strum = { version = "0.26", features = ["strum_macros", "derive"] }

View File

@@ -4,10 +4,10 @@ version = "0.1.0"
edition = "2021"
[dependencies]
actix-web = "4.8"
actix-web = "4.9"
anyhow = "1.0"
async-trait = "0.1"
derive_more = "0.99"
derive_more = "1.0"
futures-util = "0.3"
quick-xml = { version = "0.36", features = [
"serde",

View File

@@ -4,8 +4,13 @@ version = "0.1.0"
edition = "2021"
[dependencies]
actix-web = "4.8"
actix-web = "4.9"
askama = { version = "0.12", features = ["serde", "with-actix-web"] }
askama_actix = "0.14"
tokio = { version = "1.39", features = ["sync", "full"] }
tokio = { version = "1.40", features = ["sync", "full"] }
rustical_auth = { path = "../auth/" }
rustical_store = { path = "../store/" }
anyhow = "1.0"
thiserror = "1.0"
actix-session = { version = "0.10", features = ["cookie-session"] }
serde = { version = "1.0", features = ["derive", "rc"] }

View File

@@ -20,12 +20,12 @@ sqlx = { version = "0.8", features = [
"runtime-tokio",
"migrate",
] }
tokio = { version = "1.39", features = ["sync", "full"] }
tokio = { version = "1.40", features = ["sync", "full"] }
toml = "0.8"
ical = { version = "0.11", features = ["generator", "serde"] }
chrono = { version = "0.4", features = ["serde"] }
regex = "1.10"
lazy_static = "1.5"
rstest = "0.21"
rstest_reuse = "0.7.0"
thiserror = "1.0.61"
rstest = "0.22"
rstest_reuse = "0.7"
thiserror = "1.0"