RocksDB crate has a few feature flags that can be set in Cargo.toml. Some relevant ones for performance are lto and io-uring(this one might have better performance not in TPS but some other metric).
Here is a list of possible feature flags currently allowed.
https://github.com/rust-rocksdb/rust-rocksdb/blob/master/Cargo.toml#L21-L37