fix building after crate removals

Signed-off-by: June Clementine Strawberry <june@3.dog>
This commit is contained in:
June Clementine Strawberry 2025-03-05 23:13:55 -05:00
parent cd420fd7c9
commit bb42118bd8
No known key found for this signature in database
6 changed files with 14 additions and 208 deletions

View file

@ -18,17 +18,17 @@ http = "1.1.0"
js_int = "0.2.2"
maplit = "1.0.2"
rand = "0.8.5"
ruma-appservice-api = { version = "0.12.1", path = "crates/ruma-appservice-api" }
ruma-client-api = { version = "0.20.1", path = "crates/ruma-client-api" }
ruma-common = { version = "0.15.1", path = "crates/ruma-common" }
ruma-events = { version = "0.30.1", path = "crates/ruma-events" }
ruma-federation-api = { version = "0.11.0", path = "crates/ruma-federation-api" }
ruma-html = { version = "0.4.0", path = "crates/ruma-html" }
ruma-identifiers-validation = { version = "0.10.1", path = "crates/ruma-identifiers-validation" }
ruma-identity-service-api = { version = "0.11.0", path = "crates/ruma-identity-service-api" }
ruma-macros = { version = "=0.15.1", path = "crates/ruma-macros" }
ruma-push-gateway-api = { version = "0.11.0", path = "crates/ruma-push-gateway-api" }
ruma-signatures = { version = "0.17.0", path = "crates/ruma-signatures" }
ruma-appservice-api = { version = "0.10.0", path = "crates/ruma-appservice-api" }
ruma-client-api = { version = "0.18.0", path = "crates/ruma-client-api" }
ruma-common = { version = "0.13.0", path = "crates/ruma-common" }
ruma-events = { version = "0.28.1", path = "crates/ruma-events" }
ruma-federation-api = { version = "0.9.0", path = "crates/ruma-federation-api" }
ruma-html = { version = "0.2.0", path = "crates/ruma-html" }
ruma-identifiers-validation = { version = "0.9.5", path = "crates/ruma-identifiers-validation" }
ruma-identity-service-api = { version = "0.9.0", path = "crates/ruma-identity-service-api" }
ruma-macros = { version = "0.13.0", path = "crates/ruma-macros" }
ruma-push-gateway-api = { version = "0.9.0", path = "crates/ruma-push-gateway-api" }
ruma-signatures = { version = "0.15.0", path = "crates/ruma-signatures" }
#ruma-state-res = { version = "0.11.0", path = "crates/ruma-state-res" }
serde = { version = "1.0.164", features = ["derive"] }
serde_html_form = "0.2.0"

View file

@ -1,69 +0,0 @@
# [unreleased]
# 0.13.0
Breaking changes:
- Remove `isahc` feature
Improvements:
- Add `error_kind` accessor method to `Error<E, ruma_client_api::Error>`
# 0.12.0
No changes for this version
# 0.11.0
No changes for this version
# 0.10.0
Breaking changes:
* Upgrade dependencies
# 0.9.0
Breaking changes:
* Upgrade dependencies
# 0.8.0
Breaking changes:
* Upgrade dependencies
* The whole `Client` is now feature-gated (`client-api` feature).
We may introduce a separate `FederationClient` and possibly other types like
that in the future.
Improvements:
* Rewrite `Client` initialization and store server-supported Matrix versions in
it, to determine whether to use stable, unstable or r0 paths for endpoints
# 0.7.0
Breaking changes:
* Upgrade dependencies
# 0.6.0
Breaking changes:
* Upgrade ruma-client-api to 0.11.0
# 0.5.0
Breaking changes:
* Make `Client` generic over the http client
* Make the ruma-client-api dependency optional
* Upgrade dependencies
Improvements:
* Add support for multiple HTTP clients

View file

@ -1,55 +0,0 @@
[package]
categories = ["api-bindings", "web-programming"]
description = "A Matrix client library."
homepage = "https://ruma.dev/"
keywords = ["matrix", "chat", "messaging", "ruma"]
license = "MIT"
name = "ruma-client"
readme = "README.md"
repository = "https://github.com/ruma/ruma"
version = "0.13.0"
edition = "2021"
rust-version = { workspace = true }
[package.metadata.docs.rs]
all-features = true
[features]
client-api = ["dep:as_variant", "dep:ruma-client-api"]
# HTTP clients
hyper = ["dep:http-body-util", "dep:hyper", "dep:hyper-util"]
hyper-native-tls = ["hyper", "dep:hyper-tls"]
hyper-rustls = ["hyper", "dep:hyper-rustls"]
reqwest = ["dep:reqwest"]
reqwest-native-tls = ["reqwest", "reqwest?/native-tls"]
reqwest-native-tls-alpn = ["reqwest", "reqwest?/native-tls-alpn"]
reqwest-native-tls-vendored = ["reqwest", "reqwest?/native-tls-vendored"]
reqwest-rustls-manual-roots = ["reqwest", "reqwest?/rustls-tls-manual-roots"]
reqwest-rustls-webpki-roots = ["reqwest", "reqwest?/rustls-tls-webpki-roots"]
reqwest-rustls-native-roots = ["reqwest", "reqwest?/rustls-tls-native-roots"]
[dependencies]
as_variant = { workspace = true, optional = true }
assign = { workspace = true }
async-stream = "0.3.0"
bytes = { workspace = true }
futures-core = "0.3.8"
http = { workspace = true }
http-body-util = { version = "0.1.1", optional = true }
hyper = { version = "1.3.1", optional = true, features = ["client", "http1", "http2"] }
hyper-rustls = { version = "0.27.1", optional = true, default-features = false }
hyper-tls = { version = "0.6.0", optional = true }
hyper-util = { version = "0.1.3", optional = true, features = ["client-legacy", "http1", "http2", "tokio"] }
reqwest = { version = "0.12.4", optional = true, default-features = false }
ruma-client-api = { workspace = true, optional = true, features = ["client"] }
ruma-common = { workspace = true, features = ["api"] }
serde_html_form = { workspace = true }
tracing = { version = "0.1.30", default-features = false, features = ["std"] }
[dev-dependencies]
ruma-client-api = { workspace = true, features = ["client"] }
tokio-stream = "0.1.8"
[lints]
workspace = true

View file

@ -1,41 +0,0 @@
# [unreleased]
Breaking changes:
- The `XMatrix::new` method now takes `OwnedServerName` instead of `Option<OwnedServerName>`
for the destination, since servers must always set the destination.
- The `sig` field in `XMatrix` has been changed from `String` to `Base64` to more accurately
mirror its allowed values in the type system.
Bug fixes:
- When encoding to a header value, `XMatrix` fields are now quoted and escaped correctly.
- Use http-auth crate to parse `XMatrix`. Allows to parse the Authorization HTTP
header with full compatibility with RFC 7235
Improvements:
- Implement `Display`, `FromStr` and conversion to/from `http::HeaderValue` for
`XMatrix`
# 0.3.0
Breaking changes:
- The headers dependency was upgraded to 0.4.0
# 0.2.0
No changes for this version
# 0.1.1
Improvements:
* Update links to the latest version of the Matrix spec
# 0.1.0
Improvements:
* Provide `XMatrix` type for Matrix federation authorization headers.

View file

@ -1,29 +0,0 @@
[package]
categories = ["api-bindings", "web-programming"]
description = "Utilities for implementing Matrix server applications."
homepage = "https://ruma.dev/"
keywords = ["matrix", "chat", "messaging", "ruma"]
license = "MIT"
name = "ruma-server-util"
readme = "README.md"
repository = "https://github.com/ruma/ruma"
version = "0.3.0"
edition = "2021"
rust-version = { workspace = true }
[package.metadata.docs.rs]
all-features = true
[dependencies]
headers = "0.4.0"
http = { workspace = true }
http-auth = { version = "0.1.9", default-features = false }
ruma-common = { workspace = true, features = ["api"] }
thiserror = { workspace = true }
tracing = { workspace = true }
[dev-dependencies]
tracing-subscriber = "0.3.16"
[lints]
workspace = true

View file

@ -92,9 +92,9 @@ pub use ruma_identifiers_validation as identifiers_validation;
#[cfg(feature = "signatures")]
#[doc(inline)]
pub use ruma_signatures as signatures;
#[cfg(feature = "state-res")]
#[doc(inline)]
pub use ruma_state_res as state_res;
//#[cfg(feature = "state-res")]
//#[doc(inline)]
//pub use ruma_state_res as state_res;
/// (De)serializable types for various [Matrix APIs][apis] requests and responses and abstractions
/// for them.