Cargo Features

zksync_web3_decl has no features set by default.

[dependencies]
zksync_web3_decl = { version = "29.6.0-non-semver-compat", features = ["server", "node_framework"] }
server

Enables server stubs

Enables server of jsonrpsee ^0.24

node_framework

Enables zksync_node_framework and node_framework of zksync_health_check

DI-specific dependencies

Affects zksync_web3_decl::node

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.

zksync_health_check node_framework?