Cargo Features

[dependencies]
devscripts = { version = "0.1.0-alpha.2", default-features = false, features = ["application", "docsrs", "serde"] }
default = application

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

application default = anyhow, clap, git-version, serde

Should be disabled when depending on devscripts as a library (no-default-features = true).

Required by the dev binary

docsrs

Used for builds on docs.rs to enable #![features(doc_auto_cfg)] (internal)

serde application

Enable implementations of serde traits on certain types.

Enables figment and serde

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 application
clap application
git-version application