mirror of
https://gitlab.computer.surgery/matrix/grapevine.git
synced 2025-12-16 15:21:24 +01:00
update rust deps except rocksdb and otel clownery
* OTel v0.25.0 requires downgrading Tokio to 1.38 [0] * They have a fix for this but aren't cutting a release just for release schedule reasons [1] * Prometheus support (at least for server-pull) was dropped at OTel v0.23 and isn't planned to be picked up again until OTel v1 [2] * No real reasoning was provided for this decision AFAICT [3] [4] * So many compiler errors * Unhelpful changelogs The last two points are what made me give up on trying to upgrade to OTel v0.24 too. RocksDB isn't updated because we'd need to update our nixpkgs too but that causes other problems, such as an upstream bug in liburing when building for musl. [0]: https://github.com/open-telemetry/opentelemetry-rust/issues/2094 [1]: https://github.com/open-telemetry/opentelemetry-rust/issues/2094#issuecomment-2346834030 [2]: https://docs.rs/opentelemetry-prometheus/0.17.0/opentelemetry_prometheus/index.html [3]: https://github.com/open-telemetry/opentelemetry-rust/pull/1792 [4]: https://github.com/open-telemetry/opentelemetry-rust/pull/1792#issuecomment-2121514344
This commit is contained in:
parent
c1bf4a8ee3
commit
c24f79b79b
4 changed files with 635 additions and 470 deletions
1054
Cargo.lock
generated
1054
Cargo.lock
generated
File diff suppressed because it is too large
Load diff
46
Cargo.toml
46
Cargo.toml
|
|
@ -87,21 +87,21 @@ workspace = true
|
|||
# Keep sorted
|
||||
[dependencies]
|
||||
argon2 = "0.5.3"
|
||||
async-trait = "0.1.80"
|
||||
axum = { version = "0.7.5", default-features = false, features = ["form", "http1", "http2", "json", "matched-path", "tracing"] }
|
||||
axum-extra = { version = "0.9.3", features = ["typed-header"] }
|
||||
axum-server = { version = "0.6.0", features = ["tls-rustls"] }
|
||||
async-trait = "0.1.82"
|
||||
axum = { version = "0.7.6", default-features = false, features = ["form", "http1", "http2", "json", "matched-path", "tracing"] }
|
||||
axum-extra = { version = "0.9.4", features = ["typed-header"] }
|
||||
axum-server = { version = "0.7.1", features = ["tls-rustls"] }
|
||||
base64 = "0.22.1"
|
||||
bytes = "1.6.0"
|
||||
clap = { version = "4.5.4", default-features = false, features = ["std", "derive", "help", "usage", "error-context", "string", "wrap_help"] }
|
||||
bytes = "1.7.2"
|
||||
clap = { version = "4.5.18", default-features = false, features = ["std", "derive", "help", "usage", "error-context", "string", "wrap_help"] }
|
||||
futures-util = { version = "0.3.30", default-features = false }
|
||||
hmac = "0.12.1"
|
||||
html-escape = "0.2.13"
|
||||
http = "1.1.0"
|
||||
http-body-util = "0.1.1"
|
||||
hyper = "1.3.1"
|
||||
hyper-util = { version = "0.1.4", features = ["client", "client-legacy", "service"] }
|
||||
image = { version = "0.25.1", default-features = false, features = ["jpeg", "png", "gif"] }
|
||||
http-body-util = "0.1.2"
|
||||
hyper = "1.4.1"
|
||||
hyper-util = { version = "0.1.8", features = ["client", "client-legacy", "service"] }
|
||||
image = { version = "0.25.2", default-features = false, features = ["jpeg", "png", "gif"] }
|
||||
jsonwebtoken = "9.3.0"
|
||||
lru-cache = "0.1.2"
|
||||
num_cpus = "1.16.0"
|
||||
|
|
@ -115,26 +115,26 @@ parking_lot = { version = "0.12.3", optional = true }
|
|||
phf = { version = "0.11.2", features = ["macros"] }
|
||||
prometheus = "0.13.4"
|
||||
rand = "0.8.5"
|
||||
regex = "1.10.4"
|
||||
reqwest = { version = "0.12.4", default-features = false, features = ["http2", "rustls-tls-native-roots", "socks"] }
|
||||
regex = "1.10.6"
|
||||
reqwest = { version = "0.12.7", default-features = false, features = ["http2", "rustls-tls-native-roots", "socks"] }
|
||||
ring = "0.17.8"
|
||||
rocksdb = { package = "rust-rocksdb", version = "0.26.0", features = ["lz4", "multi-threaded-cf", "zstd"], optional = true }
|
||||
ruma = { git = "https://github.com/ruma/ruma", branch = "main", features = ["compat", "rand", "appservice-api-c", "client-api", "federation-api", "push-gateway-api-c", "server-util", "state-res", "unstable-msc2448", "unstable-msc3575", "unstable-exhaustive-types", "ring-compat", "unstable-unspecified" ] }
|
||||
rusqlite = { version = "0.31.0", optional = true, features = ["bundled"] }
|
||||
sd-notify = { version = "0.4.1", optional = true }
|
||||
serde = { version = "1.0.202", features = ["rc"] }
|
||||
rusqlite = { version = "0.32.1", optional = true, features = ["bundled"] }
|
||||
sd-notify = { version = "0.4.2", optional = true }
|
||||
serde = { version = "1.0.210", features = ["rc"] }
|
||||
serde_html_form = "0.2.6"
|
||||
serde_json = { version = "1.0.117", features = ["raw_value"] }
|
||||
serde_json = { version = "1.0.128", features = ["raw_value"] }
|
||||
serde_yaml = "0.9.34"
|
||||
sha-1 = "0.10.1"
|
||||
strum = { version = "0.26.2", features = ["derive"] }
|
||||
thiserror = "1.0.61"
|
||||
strum = { version = "0.26.3", features = ["derive"] }
|
||||
thiserror = "1.0.64"
|
||||
thread_local = "1.1.8"
|
||||
tikv-jemallocator = { version = "0.5.4", features = ["unprefixed_malloc_on_supported_platforms"], optional = true }
|
||||
tokio = { version = "1.37.0", features = ["fs", "macros", "signal", "sync"] }
|
||||
toml = "0.8.14"
|
||||
tower = { version = "0.4.13", features = ["util"] }
|
||||
tower-http = { version = "0.5.2", features = ["add-extension", "cors", "sensitive-headers", "trace", "util"] }
|
||||
tikv-jemallocator = { version = "0.6.0", features = ["unprefixed_malloc_on_supported_platforms"], optional = true }
|
||||
tokio = { version = "1.40.0", features = ["fs", "macros", "signal", "sync"] }
|
||||
toml = "0.8.19"
|
||||
tower = { version = "0.5.1", features = ["util"] }
|
||||
tower-http = { version = "0.6.0", features = ["add-extension", "cors", "sensitive-headers", "trace", "util"] }
|
||||
tracing = { version = "0.1.40", features = [] }
|
||||
tracing-flame = "0.2.0"
|
||||
tracing-opentelemetry = "0.24.0"
|
||||
|
|
|
|||
|
|
@ -234,7 +234,8 @@ This will be the first release of Grapevine since it was forked from Conduit
|
|||
([!65](https://gitlab.computer.surgery/matrix/grapevine/-/merge_requests/65),
|
||||
[!84](https://gitlab.computer.surgery/matrix/grapevine/-/merge_requests/84))
|
||||
15. Added support for Authenticated Media ([MSC3916](https://github.com/matrix-org/matrix-spec-proposals/pull/3916)).
|
||||
([!58](https://gitlab.computer.surgery/matrix/grapevine/-/merge_requests/58))
|
||||
([!58](https://gitlab.computer.surgery/matrix/grapevine/-/merge_requests/58),
|
||||
[!111](https://gitlab.computer.surgery/matrix/grapevine/-/merge_requests/111))
|
||||
16. **BREAKING:** Added support for configuring and serving
|
||||
`/.well-known/matrix/...` data.
|
||||
([!90](https://gitlab.computer.surgery/matrix/grapevine/-/merge_requests/90),
|
||||
|
|
|
|||
|
|
@ -107,7 +107,7 @@ pub(crate) async fn join_room_by_id_or_alias_route(
|
|||
let (servers, room_id) = match OwnedRoomId::try_from(body.room_id_or_alias)
|
||||
{
|
||||
Ok(room_id) => {
|
||||
let mut servers = body.server_name.clone();
|
||||
let mut servers = body.via.clone();
|
||||
servers.extend(
|
||||
services()
|
||||
.rooms
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue