Cargo Features

prost-validate has no features set by default.

[dependencies]
prost-validate = { version = "0.2.6", features = ["derive", "tonic", "prost-validate-types"] }
derive = prost-validate-derive
tonic

Enables tonic and tonic-types

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.

prost-validate-derive derive?
prost-validate-types implicit feature

Enables prost-validate-types

prost-validate-types:

validation types with prost and prost-reflect support