Cargo Features
[dependencies]
rocketmq-controller = { version = "0.7.0", default-features = false, features = ["storage-rocksdb", "storage-file", "debug"] }
- default = storage-file
-
The
storage-filefeature is set by default wheneverrocketmq-controlleris added withoutsomewhere in the dependency tree.default-features = false - storage-rocksdb = rocksdb
-
Affects
storage::rocksdb_backend… - storage-file default
-
Affects
storage::file_backend… - metrics debug
Features from optional dependencies
In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.
- rocksdb storage-rocksdb?
-
Enables rocksdb
Storage backends