Compare commits

...
6 changed files with 23 additions and 17 deletions

No files matched your search

Generated
+11 -11
View File
@@ -4987,7 +4987,7 @@ dependencies = [
[[package]]
name = "ruma"
version = "0.18.0"
source = "git+https://github.com/ruma/ruma.git?rev=decdf3f6c5160e1db595d4edb4d65d5de935e13c#decdf3f6c5160e1db595d4edb4d65d5de935e13c"
source = "git+https://github.com/ruma/ruma.git?rev=4ca784797d7f86b9ace706bf602a7f7588055e1d#4ca784797d7f86b9ace706bf602a7f7588055e1d"
dependencies = [
"assign",
"js_int",
@@ -5006,7 +5006,7 @@ dependencies = [
[[package]]
name = "ruma-appservice-api"
version = "0.18.0"
source = "git+https://github.com/ruma/ruma.git?rev=decdf3f6c5160e1db595d4edb4d65d5de935e13c#decdf3f6c5160e1db595d4edb4d65d5de935e13c"
source = "git+https://github.com/ruma/ruma.git?rev=4ca784797d7f86b9ace706bf602a7f7588055e1d#4ca784797d7f86b9ace706bf602a7f7588055e1d"
dependencies = [
"http",
"js_int",
@@ -5019,7 +5019,7 @@ dependencies = [
[[package]]
name = "ruma-client-api"
version = "0.26.0"
source = "git+https://github.com/ruma/ruma.git?rev=decdf3f6c5160e1db595d4edb4d65d5de935e13c#decdf3f6c5160e1db595d4edb4d65d5de935e13c"
source = "git+https://github.com/ruma/ruma.git?rev=4ca784797d7f86b9ace706bf602a7f7588055e1d#4ca784797d7f86b9ace706bf602a7f7588055e1d"
dependencies = [
"as_variant",
"assign",
@@ -5041,7 +5041,7 @@ dependencies = [
[[package]]
name = "ruma-common"
version = "0.21.0"
source = "git+https://github.com/ruma/ruma.git?rev=decdf3f6c5160e1db595d4edb4d65d5de935e13c#decdf3f6c5160e1db595d4edb4d65d5de935e13c"
source = "git+https://github.com/ruma/ruma.git?rev=4ca784797d7f86b9ace706bf602a7f7588055e1d#4ca784797d7f86b9ace706bf602a7f7588055e1d"
dependencies = [
"as_variant",
"base64 0.23.1",
@@ -5074,7 +5074,7 @@ dependencies = [
[[package]]
name = "ruma-events"
version = "0.36.0"
source = "git+https://github.com/ruma/ruma.git?rev=decdf3f6c5160e1db595d4edb4d65d5de935e13c#decdf3f6c5160e1db595d4edb4d65d5de935e13c"
source = "git+https://github.com/ruma/ruma.git?rev=4ca784797d7f86b9ace706bf602a7f7588055e1d#4ca784797d7f86b9ace706bf602a7f7588055e1d"
dependencies = [
"as_variant",
"indexmap 2.14.2",
@@ -5095,7 +5095,7 @@ dependencies = [
[[package]]
name = "ruma-federation-api"
version = "0.17.0"
source = "git+https://github.com/ruma/ruma.git?rev=decdf3f6c5160e1db595d4edb4d65d5de935e13c#decdf3f6c5160e1db595d4edb4d65d5de935e13c"
source = "git+https://github.com/ruma/ruma.git?rev=4ca784797d7f86b9ace706bf602a7f7588055e1d#4ca784797d7f86b9ace706bf602a7f7588055e1d"
dependencies = [
"bytes",
"http",
@@ -5117,7 +5117,7 @@ dependencies = [
[[package]]
name = "ruma-identifiers-validation"
version = "0.14.1"
source = "git+https://github.com/ruma/ruma.git?rev=decdf3f6c5160e1db595d4edb4d65d5de935e13c#decdf3f6c5160e1db595d4edb4d65d5de935e13c"
source = "git+https://github.com/ruma/ruma.git?rev=4ca784797d7f86b9ace706bf602a7f7588055e1d#4ca784797d7f86b9ace706bf602a7f7588055e1d"
dependencies = [
"js_int",
"thiserror 2.0.21",
@@ -5126,7 +5126,7 @@ dependencies = [
[[package]]
name = "ruma-macros"
version = "0.20.3"
source = "git+https://github.com/ruma/ruma.git?rev=decdf3f6c5160e1db595d4edb4d65d5de935e13c#decdf3f6c5160e1db595d4edb4d65d5de935e13c"
source = "git+https://github.com/ruma/ruma.git?rev=4ca784797d7f86b9ace706bf602a7f7588055e1d#4ca784797d7f86b9ace706bf602a7f7588055e1d"
dependencies = [
"as_variant",
"cfg-if",
@@ -5142,7 +5142,7 @@ dependencies = [
[[package]]
name = "ruma-push-gateway-api"
version = "0.17.0"
source = "git+https://github.com/ruma/ruma.git?rev=decdf3f6c5160e1db595d4edb4d65d5de935e13c#decdf3f6c5160e1db595d4edb4d65d5de935e13c"
source = "git+https://github.com/ruma/ruma.git?rev=4ca784797d7f86b9ace706bf602a7f7588055e1d#4ca784797d7f86b9ace706bf602a7f7588055e1d"
dependencies = [
"js_int",
"ruma-common",
@@ -5154,7 +5154,7 @@ dependencies = [
[[package]]
name = "ruma-signatures"
version = "0.23.0"
source = "git+https://github.com/ruma/ruma.git?rev=decdf3f6c5160e1db595d4edb4d65d5de935e13c#decdf3f6c5160e1db595d4edb4d65d5de935e13c"
source = "git+https://github.com/ruma/ruma.git?rev=4ca784797d7f86b9ace706bf602a7f7588055e1d#4ca784797d7f86b9ace706bf602a7f7588055e1d"
dependencies = [
"base64 0.23.1",
"ed25519-dalek",
@@ -5171,7 +5171,7 @@ dependencies = [
[[package]]
name = "ruma-state-res"
version = "0.19.0"
source = "git+https://github.com/ruma/ruma.git?rev=decdf3f6c5160e1db595d4edb4d65d5de935e13c#decdf3f6c5160e1db595d4edb4d65d5de935e13c"
source = "git+https://github.com/ruma/ruma.git?rev=4ca784797d7f86b9ace706bf602a7f7588055e1d#4ca784797d7f86b9ace706bf602a7f7588055e1d"
dependencies = [
"js_int",
"ruma-common",
+1 -1
View File
@@ -357,7 +357,7 @@ version = "1.1.1"
# Used for matrix spec type definitions and helpers
[workspace.dependencies.ruma]
git = "https://github.com/ruma/ruma.git"
rev = "decdf3f6c5160e1db595d4edb4d65d5de935e13c"
rev = "4ca784797d7f86b9ace706bf602a7f7588055e1d"
features = [
"appservice-api-c",
"client-api",
+1
View File
@@ -0,0 +1 @@
Moved the `jemalloc` feature out of `standard` (and `full`) into `default` so builders can more easily swap allocators. Builders using `--no-default-features` with the `full` or `standard` feature should now explicitly select an allocator (either `jemalloc` or `mimalloc`). Contributed by @Jade
+4 -4
View File
@@ -38,12 +38,12 @@ mimalloc = [
]
jemalloc_conf = []
jemalloc_prof = [
"tikv-jemalloc-sys/profiling",
"tikv-jemalloc-sys?/profiling",
]
jemalloc_stats = [
"tikv-jemalloc-sys/stats",
"tikv-jemalloc-ctl/stats",
"tikv-jemallocator/stats",
"tikv-jemalloc-sys?/stats",
"tikv-jemalloc-ctl?/stats",
"tikv-jemallocator?/stats",
]
perf_measurements = []
release_max_log_level = [
+1 -1
View File
@@ -48,6 +48,7 @@ assets = [
[features]
default = [
"standard",
"jemalloc",
"ring",
"bindgen-runtime", # replace with bindgen-static on alpine
]
@@ -57,7 +58,6 @@ standard = [
"element_hacks",
"gzip_compression",
"io_uring",
"jemalloc",
"jemalloc_conf",
"journald",
"media_thumbnail",
+5
View File
@@ -32,6 +32,11 @@ pub fn run() -> Result<()> {
pub fn run_with_args(args: &Args) -> Result<()> {
// Spawn deadlock detection thread
deadlock::spawn();
#[cfg(not(any(feature = "jemalloc", feature = "mimalloc")))]
conduwuit_core::warn!(
"Your build configuration does not have a non-system allocator enabled. This may result \
in decreased performance."
);
// Because we're not using rustls default-tls, we have to initialise a TLS
// provider