Cargo Features

[dependencies]
zod = { version = "0.1.0", default-features = false, features = ["rpc"] }
default = rpc

The rpc feature is set by default whenever zod is added without default-features = false somewhere in the dependency tree.

rpc default = async-trait, axum, futures, inventory, pin-project-lite, serde, serde_json, thiserror, tokio, tracing

Affects zod::rpc

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.

inventory rpc

Enables inventory

=========================== inventory dependencies ===========================

async-trait rpc

Enables async-trait

============================== rpc dependencies ==============================

axum rpc

Enables axum ^0.6.7

futures rpc
pin-project-lite rpc
serde rpc
serde_json rpc
thiserror rpc
tokio rpc
tracing rpc