Cargo Features

[dependencies]
protokit_build = { version = "0.2.0", default-features = false, features = ["protoc", "parser", "descriptors"] }
default = protoc

The protoc feature is set by default whenever protokit_build is added without default-features = false somewhere in the dependency tree.

protoc default = descriptors

Affects protokit_build::ProtocContext, protokit_build::Build.ctx

parser = protokit_proto

Affects protokit_build::ParserContext, protokit_build::Build.ctx

descriptors protoc

Enables descriptors of protokit_desc

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.

protokit_proto parser?