Cargo Features

[dependencies]
term-transcript = { version = "0.4.0-beta.1", default-features = false, features = ["svg", "test", "portable-pty", "tracing", "pretty_assertions"] }
default = pretty_assertions, svg, test

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

svg default = handlebars, serde, serde_json

Rendering terminal transcripts into SVG snapshots

Affects term-transcript::svg, test::UpdateMode

test default = is-terminal, quick-xml

Allows parsing transcripts from SVG snapshots and testing them

Affects term-transcript::test

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.

quick-xml test

Enables quick-xml

Public dependencies (present in the public API).

handlebars svg
portable-pty implicit feature

Enables portable-pty

portable-pty:

Cross platform pty interface

is-terminal test

Enables is-terminal

Private dependencies (not exposed in the public API).

serde svg
serde_json svg
tracing implicit feature

Enables tracing

tracing:

Application-level tracing for Rust

pretty_assertions default