Cargo Features
[dependencies]
perspective = { version = "3.2.0", default-features = false, features = ["axum-ws", "external-cpp"] }
- default = axum-ws
-
The
axum-ws
feature is set by default wheneverperspective
is added without
somewhere in the dependency tree.default-features = false - axum-ws default = axum, futures, tokio
-
Affects
perspective::axum
… - external-cpp
-
Enables generate-proto and protobuf-src of perspective-client, external-cpp of perspective-server
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.