From d9781e9f503dbb958f6320c66658dccb479664bc Mon Sep 17 00:00:00 2001 From: strawberry Date: Fri, 20 Sep 2024 23:41:05 -0400 Subject: [PATCH] remove old "rocksdb" and "sha256_media" cargo features Signed-off-by: strawberry --- src/core/Cargo.toml | 4 ---- src/core/config/check.rs | 16 ---------------- 2 files changed, 20 deletions(-) diff --git a/src/core/Cargo.toml b/src/core/Cargo.toml index 1cadccad..a7d9100c 100644 --- a/src/core/Cargo.toml +++ b/src/core/Cargo.toml @@ -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 diff --git a/src/core/config/check.rs b/src/core/config/check.rs index b36b9c5e..8dea55d8 100644 --- a/src/core/config/check.rs +++ b/src/core/config/check.rs @@ -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);