Cargo Features
[dependencies]
zod = { version = "0.1.0", default-features = false, features = ["rpc"] }
- default = rpc
-
The
rpc
feature is set by default wheneverzod
is added without
somewhere in the dependency tree.default-features = false - 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
-
Enables thiserror ^1.0.38
- tokio rpc
- tracing rpc