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
somewhere in the dependency tree.default-features = false - 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
-
snapbox:
Default Feature Flags
Fancy diffs on failure - filesystem default
-
snapbox:
Snapshotting of directories
- schema
-
Enables schemars and serde_json
Required by the trycmd-schema binary
- examples
-
snapbox:
Building of examples for snapshotting
Affects
cargo::compile_example
,cargo::compile_examples
… - debug
-
snapbox:
Extra debugging information