Cargo Features

[dependencies]
trycmd = { version = "0.15.8", default-features = false, features = ["color", "color-auto", "diff", "filesystem", "schema", "examples", "debug", "escargot"] }
default = color-auto, diff, filesystem

These default features are set whenever trycmd is added without default-features = false somewhere in the dependency tree.

color color-auto

Enables anstream and color of snapbox

snapbox:

Colored output support

color-auto default = color

Enables color-auto of snapbox

snapbox:

Auto-detect whether to use colors

diff default

Enables diff of snapbox

snapbox:

Default Feature Flags

Fancy diffs on failure

filesystem default

Enables dir of snapbox

snapbox:

Snapshotting of directories

schema

Enables schemars and serde_json

Required by the trycmd-schema binary

examples

Enables examples of snapbox

snapbox:

Building of examples for snapshotting

Affects cargo::compile_example, cargo::compile_examples

debug

Enables debug of snapbox

snapbox:

Extra debugging information

Features from optional dependencies

escargot implicit feature

Enables escargot

escargot:

Cargo API written in Paris