Cargo Features

[dependencies]
tindercrypt = { version = "0.3.3", default-features = false, features = ["cli", "proto-gen"] }
default = cli

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

cli default = clap, dialoguer, lazy_static

Dependencies needed specifically for the CLI.

proto-gen = protobuf-codegen

Generate Rust code from .proto files.

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.

clap cli

Enables clap ^2

NOTE: The following dependencies are required only for the CLI version of the crate, and are only included if the cli feature is enabled. See also https://github.com/rust-lang/cargo/issues/1982, for the current state of binary-only dependencies in cargo.

dialoguer cli

Enables dialoguer ^0.8

lazy_static cli
protobuf-codegen build proto-gen?