Update dependencies + Add release in Readme #44

Merged
ldr merged 2 commits from update-deps into main 2023-12-25 23:49:34 +01:00
5 changed files with 1047 additions and 749 deletions
Showing only changes of commit 26007991ee - Show all commits

Update dependencies

Lukas Drescher 2023-12-25 21:48:29 +01:00

1828
Cargo.lock generated

File diff suppressed because it is too large Load diff

View file

@ -41,7 +41,7 @@ serde_json = "1.0.91"
tempfile = "3.3.0"
thiserror = "1.0.38"
toml = "0.7.0"
tokio = "1.24.2"
tokio = { version = "1.24.2", features = ["fs"] }
url = { version = "2.3.1", features = ["serde"] }
[profile.release]

BIN
packages/jobboerse/THIRDPARTY.toml (Stored with Git LFS)

Binary file not shown.

View file

@ -3,7 +3,7 @@ use std::sync::Arc;
use actix_tls::connect::rustls_0_20::reexports::ClientConfig;
use awc::{Client, Connector};
use handlebars::{Handlebars, RenderError};
use log::{debug, error, warn};
use log::{debug, warn};
use serde_json::json;
use url::Url;

View file

@ -56,7 +56,7 @@ pub async fn multi_field(
max_count: Option<u8>,
) -> Result<(), MultipartFieldError> {
if let Some(count) = max_count {
if storage.len() >= count.into() {
if storage.len() >= usize::from(count) {
return Err(MultipartFieldError::TooManyOccurrences {
field: name,
limit: count,
@ -96,7 +96,7 @@ pub async fn multi_file(
config: &Path,
) -> Result<(), MultipartFieldError> {
if let Some(count) = max_count {
if storage.len() >= count.into() {
if storage.len() >= usize::from(count) {
return Err(MultipartFieldError::TooManyOccurrences {
field: name,
limit: count,