bump rust-rocksdb and ruwuma

Signed-off-by: June Clementine Strawberry <june@3.dog>
This commit is contained in:
June Clementine Strawberry 2025-03-06 00:14:24 -05:00
parent 2c1ec3fb02
commit c10500f8ae
No known key found for this signature in database
7 changed files with 28 additions and 56 deletions

60
Cargo.lock generated
View file

@ -3489,7 +3489,7 @@ dependencies = [
[[package]]
name = "ruma"
version = "0.10.1"
source = "git+https://github.com/girlbossceo/ruwuma?rev=b40e76528660f6a389eacd19a83ef9060644ee8f#b40e76528660f6a389eacd19a83ef9060644ee8f"
source = "git+https://github.com/girlbossceo/ruwuma?rev=bb42118bd85e731b652a6110896b6945085bf944#bb42118bd85e731b652a6110896b6945085bf944"
dependencies = [
"assign",
"js_int",
@ -3502,16 +3502,14 @@ dependencies = [
"ruma-identifiers-validation",
"ruma-identity-service-api",
"ruma-push-gateway-api",
"ruma-server-util",
"ruma-signatures",
"ruma-state-res",
"web-time 1.1.0",
]
[[package]]
name = "ruma-appservice-api"
version = "0.10.0"
source = "git+https://github.com/girlbossceo/ruwuma?rev=b40e76528660f6a389eacd19a83ef9060644ee8f#b40e76528660f6a389eacd19a83ef9060644ee8f"
source = "git+https://github.com/girlbossceo/ruwuma?rev=bb42118bd85e731b652a6110896b6945085bf944#bb42118bd85e731b652a6110896b6945085bf944"
dependencies = [
"js_int",
"ruma-common",
@ -3523,7 +3521,7 @@ dependencies = [
[[package]]
name = "ruma-client-api"
version = "0.18.0"
source = "git+https://github.com/girlbossceo/ruwuma?rev=b40e76528660f6a389eacd19a83ef9060644ee8f#b40e76528660f6a389eacd19a83ef9060644ee8f"
source = "git+https://github.com/girlbossceo/ruwuma?rev=bb42118bd85e731b652a6110896b6945085bf944#bb42118bd85e731b652a6110896b6945085bf944"
dependencies = [
"as_variant",
"assign",
@ -3546,7 +3544,7 @@ dependencies = [
[[package]]
name = "ruma-common"
version = "0.13.0"
source = "git+https://github.com/girlbossceo/ruwuma?rev=b40e76528660f6a389eacd19a83ef9060644ee8f#b40e76528660f6a389eacd19a83ef9060644ee8f"
source = "git+https://github.com/girlbossceo/ruwuma?rev=bb42118bd85e731b652a6110896b6945085bf944#bb42118bd85e731b652a6110896b6945085bf944"
dependencies = [
"as_variant",
"base64 0.22.1",
@ -3578,7 +3576,7 @@ dependencies = [
[[package]]
name = "ruma-events"
version = "0.28.1"
source = "git+https://github.com/girlbossceo/ruwuma?rev=b40e76528660f6a389eacd19a83ef9060644ee8f#b40e76528660f6a389eacd19a83ef9060644ee8f"
source = "git+https://github.com/girlbossceo/ruwuma?rev=bb42118bd85e731b652a6110896b6945085bf944#bb42118bd85e731b652a6110896b6945085bf944"
dependencies = [
"as_variant",
"indexmap 2.7.1",
@ -3603,10 +3601,12 @@ dependencies = [
[[package]]
name = "ruma-federation-api"
version = "0.9.0"
source = "git+https://github.com/girlbossceo/ruwuma?rev=b40e76528660f6a389eacd19a83ef9060644ee8f#b40e76528660f6a389eacd19a83ef9060644ee8f"
source = "git+https://github.com/girlbossceo/ruwuma?rev=bb42118bd85e731b652a6110896b6945085bf944#bb42118bd85e731b652a6110896b6945085bf944"
dependencies = [
"bytes",
"headers",
"http",
"http-auth",
"httparse",
"js_int",
"memchr",
@ -3616,12 +3616,14 @@ dependencies = [
"ruma-events",
"serde",
"serde_json",
"thiserror 2.0.11",
"tracing",
]
[[package]]
name = "ruma-identifiers-validation"
version = "0.9.5"
source = "git+https://github.com/girlbossceo/ruwuma?rev=b40e76528660f6a389eacd19a83ef9060644ee8f#b40e76528660f6a389eacd19a83ef9060644ee8f"
source = "git+https://github.com/girlbossceo/ruwuma?rev=bb42118bd85e731b652a6110896b6945085bf944#bb42118bd85e731b652a6110896b6945085bf944"
dependencies = [
"js_int",
"thiserror 2.0.11",
@ -3630,7 +3632,7 @@ dependencies = [
[[package]]
name = "ruma-identity-service-api"
version = "0.9.0"
source = "git+https://github.com/girlbossceo/ruwuma?rev=b40e76528660f6a389eacd19a83ef9060644ee8f#b40e76528660f6a389eacd19a83ef9060644ee8f"
source = "git+https://github.com/girlbossceo/ruwuma?rev=bb42118bd85e731b652a6110896b6945085bf944#bb42118bd85e731b652a6110896b6945085bf944"
dependencies = [
"js_int",
"ruma-common",
@ -3640,7 +3642,7 @@ dependencies = [
[[package]]
name = "ruma-macros"
version = "0.13.0"
source = "git+https://github.com/girlbossceo/ruwuma?rev=b40e76528660f6a389eacd19a83ef9060644ee8f#b40e76528660f6a389eacd19a83ef9060644ee8f"
source = "git+https://github.com/girlbossceo/ruwuma?rev=bb42118bd85e731b652a6110896b6945085bf944#bb42118bd85e731b652a6110896b6945085bf944"
dependencies = [
"cfg-if",
"proc-macro-crate",
@ -3655,7 +3657,7 @@ dependencies = [
[[package]]
name = "ruma-push-gateway-api"
version = "0.9.0"
source = "git+https://github.com/girlbossceo/ruwuma?rev=b40e76528660f6a389eacd19a83ef9060644ee8f#b40e76528660f6a389eacd19a83ef9060644ee8f"
source = "git+https://github.com/girlbossceo/ruwuma?rev=bb42118bd85e731b652a6110896b6945085bf944#bb42118bd85e731b652a6110896b6945085bf944"
dependencies = [
"js_int",
"ruma-common",
@ -3664,23 +3666,10 @@ dependencies = [
"serde_json",
]
[[package]]
name = "ruma-server-util"
version = "0.3.0"
source = "git+https://github.com/girlbossceo/ruwuma?rev=b40e76528660f6a389eacd19a83ef9060644ee8f#b40e76528660f6a389eacd19a83ef9060644ee8f"
dependencies = [
"headers",
"http",
"http-auth",
"ruma-common",
"thiserror 2.0.11",
"tracing",
]
[[package]]
name = "ruma-signatures"
version = "0.15.0"
source = "git+https://github.com/girlbossceo/ruwuma?rev=b40e76528660f6a389eacd19a83ef9060644ee8f#b40e76528660f6a389eacd19a83ef9060644ee8f"
source = "git+https://github.com/girlbossceo/ruwuma?rev=bb42118bd85e731b652a6110896b6945085bf944#bb42118bd85e731b652a6110896b6945085bf944"
dependencies = [
"base64 0.22.1",
"ed25519-dalek",
@ -3693,25 +3682,10 @@ dependencies = [
"thiserror 2.0.11",
]
[[package]]
name = "ruma-state-res"
version = "0.11.0"
source = "git+https://github.com/girlbossceo/ruwuma?rev=b40e76528660f6a389eacd19a83ef9060644ee8f#b40e76528660f6a389eacd19a83ef9060644ee8f"
dependencies = [
"futures-util",
"js_int",
"ruma-common",
"ruma-events",
"serde",
"serde_json",
"thiserror 2.0.11",
"tracing",
]
[[package]]
name = "rust-librocksdb-sys"
version = "0.32.0+9.10.0"
source = "git+https://github.com/girlbossceo/rust-rocksdb-zaidoon1?rev=2ff4bbf31e944fa2686bb041d8c5caaf4b966d3b#2ff4bbf31e944fa2686bb041d8c5caaf4b966d3b"
source = "git+https://github.com/girlbossceo/rust-rocksdb-zaidoon1?rev=513133a3dc24b667f32933aa3247c6ec71a958f3#513133a3dc24b667f32933aa3247c6ec71a958f3"
dependencies = [
"bindgen",
"bzip2-sys",
@ -3728,7 +3702,7 @@ dependencies = [
[[package]]
name = "rust-rocksdb"
version = "0.36.0"
source = "git+https://github.com/girlbossceo/rust-rocksdb-zaidoon1?rev=2ff4bbf31e944fa2686bb041d8c5caaf4b966d3b#2ff4bbf31e944fa2686bb041d8c5caaf4b966d3b"
source = "git+https://github.com/girlbossceo/rust-rocksdb-zaidoon1?rev=513133a3dc24b667f32933aa3247c6ec71a958f3#513133a3dc24b667f32933aa3247c6ec71a958f3"
dependencies = [
"libc",
"rust-librocksdb-sys",

View file

@ -346,7 +346,7 @@ version = "0.1.2"
[workspace.dependencies.ruma]
git = "https://github.com/girlbossceo/ruwuma"
#branch = "conduwuit-changes"
rev = "b40e76528660f6a389eacd19a83ef9060644ee8f"
rev = "bb42118bd85e731b652a6110896b6945085bf944"
features = [
"compat",
"rand",
@ -355,7 +355,6 @@ features = [
"federation-api",
"markdown",
"push-gateway-api-c",
"server-util",
"unstable-exhaustive-types",
"ring-compat",
"compat-upload-signatures",

View file

@ -2,7 +2,7 @@
name = "rust-rocksdb-uwu"
categories.workspace = true
description = "dylib wrapper for rust-rocksdb"
edition = "2021"
edition = "2024"
keywords.workspace = true
license.workspace = true
readme.workspace = true
@ -13,6 +13,7 @@ version = "0.0.1"
default = ["lz4", "zstd", "zlib", "bzip2"]
jemalloc = ["rust-rocksdb/jemalloc"]
io-uring = ["rust-rocksdb/io-uring"]
numa = ["rust-rocksdb/numa"] # unused by rocksdb for now
valgrind = ["rust-rocksdb/valgrind"]
lz4 = ["rust-rocksdb/lz4"]
zstd = ["rust-rocksdb/zstd"]
@ -26,7 +27,7 @@ malloc-usable-size = ["rust-rocksdb/malloc-usable-size"]
[dependencies.rust-rocksdb]
git = "https://github.com/girlbossceo/rust-rocksdb-zaidoon1"
rev = "2ff4bbf31e944fa2686bb041d8c5caaf4b966d3b"
rev = "513133a3dc24b667f32933aa3247c6ec71a958f3"
#branch = "master"
default-features = false

8
flake.lock generated
View file

@ -567,16 +567,16 @@
"rocksdb": {
"flake": false,
"locked": {
"lastModified": 1739735940,
"narHash": "sha256-9AqKOWsYXy0sU2C+kB+3NLCDMZ2VsjfbHqvSiydUlcs=",
"lastModified": 1741234703,
"narHash": "sha256-sT5g/RM9vrwY6AmjSfl4RoJPGtcJCkZCsxiX3PFJgKQ=",
"owner": "girlbossceo",
"repo": "rocksdb",
"rev": "f8ad8cd72fd7e527171d35fa8dbca9a073b5b26c",
"rev": "185593ce4534091e57025e9f3571dbf681c04631",
"type": "github"
},
"original": {
"owner": "girlbossceo",
"ref": "v9.10.0",
"ref": "v9.9.3",
"repo": "rocksdb",
"type": "github"
}

View file

@ -9,7 +9,7 @@
flake-utils.url = "github:numtide/flake-utils?ref=main";
nix-filter.url = "github:numtide/nix-filter?ref=main";
nixpkgs.url = "github:NixOS/nixpkgs?ref=nixpkgs-unstable";
rocksdb = { url = "github:girlbossceo/rocksdb?ref=v9.10.0"; flake = false; };
rocksdb = { url = "github:girlbossceo/rocksdb?ref=v9.9.3"; flake = false; };
liburing = { url = "github:axboe/liburing?ref=master"; flake = false; };
};

View file

@ -17,9 +17,8 @@ use ruma::{
},
voip::get_turn_server_info,
},
federation::openid::get_openid_userinfo,
federation::{authentication::XMatrix, openid::get_openid_userinfo},
},
server_util::authorization::XMatrix,
};
use service::{
Services,

View file

@ -12,10 +12,9 @@ use ruma::{
CanonicalJsonObject, CanonicalJsonValue, ServerName, ServerSigningKeyId,
api::{
EndpointError, IncomingResponse, MatrixVersion, OutgoingRequest, SendAccessToken,
client::error::Error as RumaError,
client::error::Error as RumaError, federation::authentication::XMatrix,
},
serde::Base64,
server_util::authorization::XMatrix,
};
use crate::resolver::actual::ActualDest;