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
6 changed files with 1050 additions and 749 deletions

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]

View file

@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
## [0.4.0] (2023-12-25)
### Added
- basic (Discord) webhook support (send message when an offer is made public)
@ -16,6 +18,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- spelling mistakes in e-mail notifications
- spelling mistakes on the website
- update dependencies
### Change

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,