Cargo Features

rich_rust has no features set by default.

[dependencies]
rich_rust = { version = "0.2.1", features = ["full", "conformance_test", "syntax", "markdown", "json", "tracing", "backtrace", "showcase"] }
full conformance_test? showcase? = backtrace, json, markdown, syntax
conformance_test = full
syntax full? = syntect

Affects renderables::syntax

markdown full? = pulldown-cmark

Affects renderables::markdown

json full? = serde, serde_json

Affects renderables::json

tracing showcase?

Enables tracing and tracing-subscriber

tracing:

Optional tracing integration

backtrace full?

Enables backtrace

Backtrace capture for automatic traceback rendering

showcase = full, tracing

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.

syntect syntax?

Enables syntect

Syntax highlighting (Phase 3)

pulldown-cmark markdown?

Enables pulldown-cmark

Markdown rendering (Phase 3)

serde_json json?

Enables serde_json

JSON rendering (Phase 4)

serde json?