Cargo Features
[dependencies]
cnidarium = { version = "0.82.1", default-features = false, features = ["migration", "migration-proptests", "rpc", "proto", "metrics"] }
- default = metrics
-
The
metrics
feature is set by default whenevercnidarium
is added without
somewhere in the dependency tree.default-features = false - migration migration-proptests?
- migration-proptests = migration
- rpc = proto
-
Affects
penumbra.cnidarium.v1::query_service_client
,penumbra.cnidarium.v1::query_service_server
,penumbra.cnidarium.v1alpha1::query_service_client
,penumbra.cnidarium.v1alpha1::query_service_server
,cnidarium::rpc
… - proto rpc?
-
Enables ibc-proto, pbjson, prost, serde, and tonic
Affects
cnidarium::proto
…
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.
- metrics default
-
Enables metrics ^0.22.3