Cargo Features

[dependencies]
rocketmq-controller = { version = "0.7.0", default-features = false, features = ["storage-rocksdb", "storage-file", "debug"] }
default = storage-file

The storage-file feature is set by default whenever rocketmq-controller is added without default-features = false somewhere in the dependency tree.

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