Cargo Features
perspective-python has no features set by default.
[dependencies]
perspective-python = { version = "3.1.8", features = ["abi3", "external-cpp", "generate-proto", "protobuf-src"] }
- abi3
-
Enables abi3-py39 of pyo3 ^0.21.2
- external-cpp
-
Enables external-cpp of perspective-server
- generate-proto
-
Enables generate-proto of perspective-client
NOTE: when building from the git repo, these perspective-* dependencies are overridden with path dependencies in .cargo/config.toml. This is done to support the sdist, which doesn't include these packages.
- protobuf-src
-
Enables protobuf-src of perspective-client