Back to Risingwave

How this magic works

src/utils/workspace-config/README.md

2.8.3766 B
Original Source

How this magic works

This crate is to configure the features of some dependencies:

  • static log verbosity level. This is forced.
  • static link some dependencies e.g., OpenSSL. This is optional and controlled by feature flag rw-static-link

If this crate is depended by another crate, Cargo's feature unification will include the features used by this crate in the final binary.

It is (and should only be) depended by risingwave_cmd and risingwave_cmd_all, i.e., the final risingwave binaries.

It should not be depended by workspace-hack, otherwise the features will be always enabled.