Cargo Features

[dependencies]
trycmd = { version = "0.15.0", 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

Enables anstream and color of snapbox

snapbox:

Colored output support

color-auto default

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 path of snapbox

snapbox:

Snapshotting of paths

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