Cargo Features

[dependencies]
helvetia = { version = "0.2.0", default-features = false, features = ["cli", "proto-gen", "with-rocksdb"] }
default = cli

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

cli default = clap, strum, strum_macros

Dependencies needed specifically for the CLI.

proto-gen = protoc-rust

Generate Rust code from .proto files.

with-rocksdb

Enable RocksDB support.

Enables with-rocksdb of caves

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.

strum cli

Enables strum ^0.20

strum_macros cli

Enables strum_macros ^0.20

protoc-rust build proto-gen?