Update dependencies + Add release in Readme #44
6 changed files with 1050 additions and 749 deletions
1828
Cargo.lock
generated
1828
Cargo.lock
generated
File diff suppressed because it is too large
Load diff
|
|
@ -41,7 +41,7 @@ serde_json = "1.0.91"
|
||||||
tempfile = "3.3.0"
|
tempfile = "3.3.0"
|
||||||
thiserror = "1.0.38"
|
thiserror = "1.0.38"
|
||||||
toml = "0.7.0"
|
toml = "0.7.0"
|
||||||
tokio = "1.24.2"
|
tokio = { version = "1.24.2", features = ["fs"] }
|
||||||
url = { version = "2.3.1", features = ["serde"] }
|
url = { version = "2.3.1", features = ["serde"] }
|
||||||
|
|
||||||
[profile.release]
|
[profile.release]
|
||||||
|
|
|
||||||
|
|
@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
|
||||||
|
## [0.4.0] (2023-12-25)
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|
||||||
- basic (Discord) webhook support (send message when an offer is made public)
|
- 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 in e-mail notifications
|
||||||
- spelling mistakes on the website
|
- spelling mistakes on the website
|
||||||
|
- update dependencies
|
||||||
|
|
||||||
### Change
|
### Change
|
||||||
|
|
||||||
|
|
|
||||||
BIN
packages/jobboerse/THIRDPARTY.toml
(Stored with Git LFS)
BIN
packages/jobboerse/THIRDPARTY.toml
(Stored with Git LFS)
Binary file not shown.
|
|
@ -3,7 +3,7 @@ use std::sync::Arc;
|
||||||
use actix_tls::connect::rustls_0_20::reexports::ClientConfig;
|
use actix_tls::connect::rustls_0_20::reexports::ClientConfig;
|
||||||
use awc::{Client, Connector};
|
use awc::{Client, Connector};
|
||||||
use handlebars::{Handlebars, RenderError};
|
use handlebars::{Handlebars, RenderError};
|
||||||
use log::{debug, error, warn};
|
use log::{debug, warn};
|
||||||
use serde_json::json;
|
use serde_json::json;
|
||||||
use url::Url;
|
use url::Url;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -56,7 +56,7 @@ pub async fn multi_field(
|
||||||
max_count: Option<u8>,
|
max_count: Option<u8>,
|
||||||
) -> Result<(), MultipartFieldError> {
|
) -> Result<(), MultipartFieldError> {
|
||||||
if let Some(count) = max_count {
|
if let Some(count) = max_count {
|
||||||
if storage.len() >= count.into() {
|
if storage.len() >= usize::from(count) {
|
||||||
return Err(MultipartFieldError::TooManyOccurrences {
|
return Err(MultipartFieldError::TooManyOccurrences {
|
||||||
field: name,
|
field: name,
|
||||||
limit: count,
|
limit: count,
|
||||||
|
|
@ -96,7 +96,7 @@ pub async fn multi_file(
|
||||||
config: &Path,
|
config: &Path,
|
||||||
) -> Result<(), MultipartFieldError> {
|
) -> Result<(), MultipartFieldError> {
|
||||||
if let Some(count) = max_count {
|
if let Some(count) = max_count {
|
||||||
if storage.len() >= count.into() {
|
if storage.len() >= usize::from(count) {
|
||||||
return Err(MultipartFieldError::TooManyOccurrences {
|
return Err(MultipartFieldError::TooManyOccurrences {
|
||||||
field: name,
|
field: name,
|
||||||
limit: count,
|
limit: count,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue