Cargo Features
perspective-client has no features set by default.
[dependencies]
perspective-client = { version = "3.2.0", features = ["generate-proto", "protobuf-src", "omit_metadata"] }
- generate-proto
-
Should the project build the
proto.rs
via protoc from source or assume it already exists? - protobuf-src build
-
Should the project build protobuf from source? If not, building this crate requires PROTOC be set in the environment
Enables protobuf-src
- omit_metadata
-
When generating metadata, we can't rely on its existence - so enable this to skip metadata generation. This currently only affects docs.