mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2025-07-07 23:26:24 +02:00
remove old "rocksdb" and "sha256_media" cargo features
Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
parent
52d87bbb88
commit
d9781e9f50
2 changed files with 0 additions and 20 deletions
|
@ -52,10 +52,6 @@ zstd_compression = [
|
||||||
perf_measurements = []
|
perf_measurements = []
|
||||||
sentry_telemetry = []
|
sentry_telemetry = []
|
||||||
|
|
||||||
# these do nothing, these are purely for informing users to update their build scripts if they use one
|
|
||||||
rocksdb = []
|
|
||||||
sha256_media = []
|
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
argon2.workspace = true
|
argon2.workspace = true
|
||||||
arrayvec.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)");
|
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_deprecated(config);
|
||||||
warn_unknown_key(config);
|
warn_unknown_key(config);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue