mirror of
https://github.com/LukeMathWalker/zero-to-production.git
synced 2024-12-18 14:06:37 +00:00
Update Cargo.lock and resolve cargo-audit report
This commit is contained in:
parent
0924a7069c
commit
78a6a9de27
5 changed files with 524 additions and 382 deletions
898
Cargo.lock
generated
898
Cargo.lock
generated
File diff suppressed because it is too large
Load diff
|
@ -43,7 +43,7 @@ actix-web-lab = "0.16"
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
once_cell = "1.7.2"
|
once_cell = "1.7.2"
|
||||||
claim = "0.5.0"
|
claims = "0.7.0"
|
||||||
quickcheck = "0.9.2"
|
quickcheck = "0.9.2"
|
||||||
quickcheck_macros = "0.9.1"
|
quickcheck_macros = "0.9.1"
|
||||||
fake = "~2.3.0"
|
fake = "~2.3.0"
|
||||||
|
|
|
@ -28,7 +28,7 @@ impl std::fmt::Display for SubscriberEmail {
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
mod tests {
|
mod tests {
|
||||||
use super::SubscriberEmail;
|
use super::SubscriberEmail;
|
||||||
use claim::assert_err;
|
use claims::assert_err;
|
||||||
use fake::faker::internet::en::SafeEmail;
|
use fake::faker::internet::en::SafeEmail;
|
||||||
use fake::Fake;
|
use fake::Fake;
|
||||||
|
|
||||||
|
|
|
@ -44,7 +44,7 @@ impl AsRef<str> for SubscriberName {
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
mod tests {
|
mod tests {
|
||||||
use crate::domain::SubscriberName;
|
use crate::domain::SubscriberName;
|
||||||
use claim::{assert_err, assert_ok};
|
use claims::{assert_err, assert_ok};
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn a_256_grapheme_long_name_is_valid() {
|
fn a_256_grapheme_long_name_is_valid() {
|
||||||
|
|
|
@ -68,7 +68,7 @@ struct SendEmailRequest<'a> {
|
||||||
mod tests {
|
mod tests {
|
||||||
use crate::domain::SubscriberEmail;
|
use crate::domain::SubscriberEmail;
|
||||||
use crate::email_client::EmailClient;
|
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::internet::en::SafeEmail;
|
||||||
use fake::faker::lorem::en::{Paragraph, Sentence};
|
use fake::faker::lorem::en::{Paragraph, Sentence};
|
||||||
use fake::{Fake, Faker};
|
use fake::{Fake, Faker};
|
||||||
|
|
Loading…
Reference in a new issue