Cargo Features

AptosNode has no features set by default.

[dependencies]
aptos-node = { version = "0.2.7", features = ["assert-private-keys-not-cloneable", "failpoints"] }
assert-private-keys-not-cloneable

Enables assert-private-keys-not-cloneable of aptos-crypto

failpoints

Enables failpoints of aptos-api, aptos-mempool, aptos-consensus, aptos-executor, and fail

AptosNode has 2 features without comments.