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

Move some common dependencies on the workspace level

Also deprecates the AWS SESv2 transport for emails
This commit is contained in:
Quentin Gliech
2023-08-14 12:08:32 +02:00
parent 21964cbeab
commit 7c83dce66e
36 changed files with 171 additions and 711 deletions

View File

@ -6,13 +6,11 @@ edition = "2021"
license = "Apache-2.0"
[dependencies]
aws-smithy-http = { version = "0.55.3", optional = true }
aws-types = { version = "0.55.3", optional = true }
axum = { version = "0.6.20", optional = true }
bytes = "1.4.0"
futures-util = "0.3.28"
headers = "0.3.8"
http = "0.2.9"
http.workspace = true
http-body = "0.4.5"
hyper = "0.14.27"
hyper-rustls = { version = "0.24.1", features = ["http1", "http2"], default-features = false, optional = true }
@ -20,14 +18,14 @@ once_cell = "1.18.0"
opentelemetry = "0.20.0"
rustls = { version = "0.21.6", optional = true }
rustls-native-certs = { version = "0.6.3", optional = true }
serde = "1.0.183"
serde_json = "1.0.104"
serde.workspace = true
serde_json.workspace = true
serde_urlencoded = "0.7.1"
thiserror = "1.0.44"
thiserror.workspace = true
tokio = { version = "1.30.0", features = ["sync", "parking_lot"], optional = true }
tower = { version = "0.4.13", features = [] }
tower-http = { version = "0.4.3", features = ["cors"] }
tracing = "0.1.37"
tracing.workspace = true
tracing-opentelemetry = "0.20.0"
webpki = { version = "0.22.0", optional = true }
webpki-roots = { version = "0.25.2", optional = true }
@ -35,14 +33,12 @@ webpki-roots = { version = "0.25.2", optional = true }
mas-tower = { path = "../tower" }
[dev-dependencies]
anyhow = "1.0.72"
serde = { version = "1.0.183", features = ["derive"] }
anyhow.workspace = true
tokio = { version = "1.30.0", features = ["macros", "rt"] }
tower = { version = "0.4.13", features = ["util"] }
[features]
axum = ["dep:axum"]
aws-sdk = ["dep:aws-smithy-http", "dep:aws-types"]
native-roots = ["dep:rustls-native-certs"]
webpki-roots = ["dep:webpki-roots"]
client = [