Cargo Features

[dependencies]
mif = { version = "0.3.0", default-features = false, features = ["cli", "bin"] }
default = bin

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

cli bin = anyhow, indexmap, serde, toml

Affects mif::cli

bin default = clap, cli

Required by the binary

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.

anyhow cli?
indexmap cli?

Enables indexmap ^1

serde cli?
toml cli?

Enables toml ^0.5

clap bin

Enables clap ^3.0.0-beta.1