Cargo Features
[dependencies]
cn-font-proto = { version = "0.1.2", default-features = false, features = ["server", "with_extra", "prost-types"] }
- default = with_extra
-
The
with_extra
feature is set by default whenevercn-font-proto
is added without
somewhere in the dependency tree.default-features = false - server = tonic
-
Affects
cn-font-proto::font_services
… - with_extra default = tonic-build
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.
- tonic server?
- prost-types implicit feature
-
Enables prost-types
prost-types:
Prost definitions of Protocol Buffers well known types
- tonic-build build with_extra