1
0
mirror of https://github.com/matrix-org/matrix-authentication-service.git synced 2025-07-29 22:01:14 +03:00

Bump Rust depdenencies

This commit is contained in:
Quentin Gliech
2023-04-18 19:40:53 +02:00
parent 186f0956f0
commit 4baa15bbd3
26 changed files with 950 additions and 694 deletions

View File

@ -11,20 +11,20 @@ tracing = "0.1.37"
thiserror = "1.0.40"
headers = "0.3.8"
aws-sdk-sesv2 = { version = "0.24.0", default-features = false }
aws-config = { version = "0.54.1", default-features = false }
aws-smithy-client = { version = "0.54.4", default-features = false, features = ["client-hyper"] }
aws-smithy-async = { version = "0.54.4", default-features = false, features = ["rt-tokio"] }
aws-smithy-http = { version = "0.54.4", default-features = false }
aws-smithy-http-tower = { version = "0.54.4", default-features = false }
aws-types = "0.54.1"
aws-sdk-sesv2 = { version = "0.26.0", default-features = false }
aws-config = { version = "0.55.1", default-features = false }
aws-smithy-client = { version = "0.55.1", default-features = false, features = ["client-hyper"] }
aws-smithy-async = { version = "0.55.1", default-features = false, features = ["rt-tokio"] }
aws-smithy-http = { version = "0.55.1", default-features = false }
aws-smithy-http-tower = { version = "0.55.1", default-features = false }
aws-types = "0.55.1"
mas-templates = { path = "../templates" }
mas-http = { path = "../http", features = ["aws-sdk", "client"] }
mas-tower = { path = "../tower", features = ["aws-sdk"] }
[dependencies.lettre]
version = "0.10.3"
version = "0.10.4"
default-features = false
features = ["tokio1-rustls-tls", "hostname", "builder", "tracing", "pool", "smtp-transport", "sendmail-transport"]

View File

@ -18,9 +18,9 @@ use async_trait::async_trait;
use aws_config::provider_config::ProviderConfig;
use aws_sdk_sesv2::{
middleware::DefaultMiddleware,
model::{EmailContent, RawMessage},
output::SendEmailOutput,
types::Blob,
operation::send_email::{SendEmailError, SendEmailOutput},
primitives::Blob,
types::{EmailContent, RawMessage},
Client,
};
use aws_smithy_async::rt::sleep::TokioSleep;
@ -31,7 +31,7 @@ use mas_http::ClientInitError;
use mas_tower::{enrich_span_fn, make_span_fn, TraceContextLayer, TraceLayer};
use tracing::{info_span, Span};
pub type Error = aws_smithy_client::SdkError<aws_sdk_sesv2::error::SendEmailError>;
pub type Error = aws_smithy_client::SdkError<SendEmailError>;
/// An asynchronous email transport that sends email via the AWS Simple Email
/// Service v2 API