bump rust to 1.82.0, rocksdb v9.7.3, ruwuma, and a few nix pkgs
Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
parent
6c1c7b35a5
commit
2d54264fbe
14 changed files with 467 additions and 244 deletions
|
@ -119,6 +119,7 @@ pub(crate) async fn create_room_route(
|
|||
None => services.globals.default_room_version(),
|
||||
};
|
||||
|
||||
#[allow(clippy::single_match_else)]
|
||||
let content = match &body.creation_content {
|
||||
Some(content) => {
|
||||
use RoomVersionId::*;
|
||||
|
|
|
@ -236,6 +236,7 @@ async fn auth_server(
|
|||
}
|
||||
}
|
||||
|
||||
#[allow(clippy::or_fun_call)]
|
||||
let signature_uri = CanonicalJsonValue::String(
|
||||
request
|
||||
.parts
|
||||
|
|
|
@ -52,10 +52,6 @@ zstd_compression = [
|
|||
perf_measurements = []
|
||||
sentry_telemetry = []
|
||||
|
||||
# these do nothing, these are purely for informing users to update their build scripts if they use one
|
||||
rocksdb = []
|
||||
sha256_media = []
|
||||
|
||||
[dependencies]
|
||||
argon2.workspace = true
|
||||
arrayvec.workspace = true
|
||||
|
|
|
@ -9,22 +9,6 @@ pub fn check(config: &Config) -> Result<()> {
|
|||
info!("Note: conduwuit was built without optimisations (i.e. debug build)");
|
||||
}
|
||||
|
||||
// prevents catching this in `--all-features`
|
||||
if cfg!(all(feature = "rocksdb", not(feature = "sha256_media"))) {
|
||||
warn!(
|
||||
"Note the rocksdb feature was deleted from conduwuit. SQLite support was removed and RocksDB is the only \
|
||||
supported backend now. Please update your build script to remove this feature."
|
||||
);
|
||||
}
|
||||
|
||||
// prevents catching this in `--all-features`
|
||||
if cfg!(all(feature = "sha256_media", not(feature = "rocksdb"))) {
|
||||
warn!(
|
||||
"Note the sha256_media feature was deleted from conduwuit, it is now fully integrated in a \
|
||||
forwards-compatible way. Please update your build script to remove this feature."
|
||||
);
|
||||
}
|
||||
|
||||
warn_deprecated(config);
|
||||
warn_unknown_key(config);
|
||||
|
||||
|
|
|
@ -61,7 +61,7 @@ pub fn set_panic_trap() {
|
|||
|
||||
#[inline(always)]
|
||||
#[allow(deprecated_in_future)]
|
||||
fn panic_handler(info: &panic::PanicInfo<'_>, next: &dyn Fn(&panic::PanicInfo<'_>)) {
|
||||
fn panic_handler(info: &panic::PanicHookInfo<'_>, next: &dyn Fn(&panic::PanicHookInfo<'_>)) {
|
||||
trap();
|
||||
next(info);
|
||||
}
|
||||
|
|
|
@ -42,6 +42,7 @@ default = [
|
|||
"gzip_compression",
|
||||
"io_uring",
|
||||
"jemalloc",
|
||||
"jemalloc_stats",
|
||||
"release_max_log_level",
|
||||
"sentry_telemetry",
|
||||
"systemd",
|
||||
|
|
|
@ -63,6 +63,7 @@ impl Data {
|
|||
.iter()
|
||||
.enumerate()
|
||||
{
|
||||
#[allow(clippy::single_match_else)]
|
||||
match short {
|
||||
Some(short) => ret.push(
|
||||
utils::u64_from_bytes(short).map_err(|_| Error::bad_database("Invalid shorteventid in db."))?,
|
||||
|
|
|
@ -479,6 +479,8 @@ impl Service {
|
|||
.collect::<Vec<_>>(),
|
||||
)))
|
||||
.into(),
|
||||
ephemeral: Vec::new(),
|
||||
to_device: Vec::new(),
|
||||
},
|
||||
)
|
||||
.await
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue