Cargo Features

perspective-client has no features set by default.

[dependencies]
perspective-client = { version = "4.0.0", features = ["generate-proto", "protobuf-src", "omit_metadata", "talc-allocator"] }
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.

talc-allocator = talc

Should talc be used as a global allocator? Allows enhanced runtime metrics via Client::system_info.

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.

talc talc-allocator?