Skip to content

Module hb_features.erl

A module that exports a list of feature flags that the node supports using the -ifdef macro.

Description

As a consequence, this module acts as a proxy of information between the build system and the runtime execution environment.

Function Index

all/0Returns a list of all feature flags that the node supports.
enabled/1Returns true if the feature flag is enabled.
genesis_wasm/0
http3/0
rocksdb/0
test/0

Function Details

all/0

all() -> any()

Returns a list of all feature flags that the node supports.

enabled/1

enabled(Feature) -> any()

Returns true if the feature flag is enabled.

genesis_wasm/0

genesis_wasm() -> any()

http3/0

http3() -> any()

rocksdb/0

rocksdb() -> any()

test/0

test() -> any()