mirror of
https://github.com/element-hq/matrix-authentication-service.git
synced 2026-10-14 19:48:46 +00:00
The `opentelemetry-jaeger-propagator` crate was removed upstream after 0.32 (open-telemetry/opentelemetry-rust#3710), but Synapse propagates traces with the Jaeger `uber-trace-id` header, so MAS needs to keep supporting it. The in-tree propagator only handles that header, including the URL-encoded form jaeger-client-python sends and the debug flag set by Synapse's forced tracing. Baggage (`uberctx-*` headers) is not propagated. A missing or malformed header is ignored without logging, so the filter for the upstream crate's "invalid header" warning goes away too.
107 lines
2.7 KiB
TOML
107 lines
2.7 KiB
TOML
# Copyright 2025, 2026 Element Creations Ltd.
|
|
# Copyright 2025 New Vector Ltd.
|
|
#
|
|
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
|
# Please see LICENSE files in the repository root for full details.
|
|
|
|
[package]
|
|
name = "mas-cli"
|
|
version.workspace = true
|
|
authors.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
homepage.workspace = true
|
|
repository.workspace = true
|
|
publish.workspace = true
|
|
|
|
build = "build.rs"
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dependencies]
|
|
anyhow.workspace = true
|
|
axum.workspace = true
|
|
bytes.workspace = true
|
|
camino.workspace = true
|
|
chrono.workspace = true
|
|
clap.workspace = true
|
|
console.workspace = true
|
|
dialoguer.workspace = true
|
|
dotenvy.workspace = true
|
|
figment.workspace = true
|
|
futures-util.workspace = true
|
|
headers.workspace = true
|
|
http-body-util.workspace = true
|
|
hyper.workspace = true
|
|
ipnetwork.workspace = true
|
|
itertools.workspace = true
|
|
listenfd.workspace = true
|
|
rand.workspace = true
|
|
rand_chacha.workspace = true
|
|
reqwest.workspace = true
|
|
rustls.workspace = true
|
|
sd-notify.workspace = true
|
|
serde_json.workspace = true
|
|
serde_yaml.workspace = true
|
|
sqlx.workspace = true
|
|
tokio.workspace = true
|
|
tokio-util.workspace = true
|
|
tower.workspace = true
|
|
tower-http.workspace = true
|
|
url.workspace = true
|
|
zeroize.workspace = true
|
|
|
|
tracing.workspace = true
|
|
tracing-appender.workspace = true
|
|
tracing-subscriber.workspace = true
|
|
tracing-opentelemetry.workspace = true
|
|
opentelemetry.workspace = true
|
|
opentelemetry-http.workspace = true
|
|
opentelemetry-instrumentation-process.workspace = true
|
|
opentelemetry-instrumentation-tokio.workspace = true
|
|
opentelemetry-otlp.workspace = true
|
|
opentelemetry-prometheus-text-exporter.workspace = true
|
|
opentelemetry-resource-detectors.workspace = true
|
|
opentelemetry-semantic-conventions.workspace = true
|
|
opentelemetry-stdout.workspace = true
|
|
opentelemetry_sdk.workspace = true
|
|
sentry.workspace = true
|
|
sentry-tracing.workspace = true
|
|
sentry-tower.workspace = true
|
|
|
|
mas-config.workspace = true
|
|
mas-context.workspace = true
|
|
mas-data-model.workspace = true
|
|
mas-email.workspace = true
|
|
mas-handlers.workspace = true
|
|
mas-http.workspace = true
|
|
mas-i18n.workspace = true
|
|
mas-keystore.workspace = true
|
|
mas-listener.workspace = true
|
|
mas-matrix.workspace = true
|
|
mas-matrix-synapse.workspace = true
|
|
mas-policy.workspace = true
|
|
mas-router.workspace = true
|
|
mas-storage.workspace = true
|
|
mas-storage-pg.workspace = true
|
|
mas-tasks.workspace = true
|
|
mas-templates.workspace = true
|
|
mas-tower.workspace = true
|
|
|
|
syn2mas.workspace = true
|
|
|
|
[dev-dependencies]
|
|
tempfile = "3"
|
|
|
|
[build-dependencies]
|
|
anyhow.workspace = true
|
|
vergen-gitcl.workspace = true
|
|
|
|
[features]
|
|
# Features used for the prebuilt binaries
|
|
dist = ["mas-config/dist"]
|
|
|
|
# Features used in the Docker image
|
|
docker = ["mas-config/docker"]
|