Update Cargo.lock and resolve cargo-audit report

This commit is contained in:
Luca Palmieri 2023-02-18 18:34:38 +00:00
parent 35b3436795
commit 41e8cd1691
5 changed files with 486 additions and 324 deletions

802
Cargo.lock generated

File diff suppressed because it is too large Load diff

View file

@ -34,7 +34,7 @@ secrecy = { version = "0.8", features = ["serde"] }
[dev-dependencies]
once_cell = "1.7.2"
claim = "0.5.0"
claims = "0.7.0"
quickcheck = "0.9.2"
quickcheck_macros = "0.9.1"
fake = "~2.3.0"

View file

@ -22,7 +22,7 @@ impl AsRef<str> for SubscriberEmail {
#[cfg(test)]
mod tests {
use super::SubscriberEmail;
use claim::assert_err;
use claims::assert_err;
use fake::faker::internet::en::SafeEmail;
use fake::Fake;

View file

@ -44,7 +44,7 @@ impl AsRef<str> for SubscriberName {
#[cfg(test)]
mod tests {
use crate::domain::SubscriberName;
use claim::{assert_err, assert_ok};
use claims::{assert_err, assert_ok};
#[test]
fn a_256_grapheme_long_name_is_valid() {

View file

@ -68,7 +68,7 @@ struct SendEmailRequest<'a> {
mod tests {
use crate::domain::SubscriberEmail;
use crate::email_client::EmailClient;
use claim::{assert_err, assert_ok};
use claims::{assert_err, assert_ok};
use fake::faker::internet::en::SafeEmail;
use fake::faker::lorem::en::{Paragraph, Sentence};
use fake::{Fake, Faker};