Cargo Features

miette = { version = "7.1.0", default-features = false, features = ["derive", "no-format-args-capture", "fancy-no-backtrace", "fancy", "syntect-highlighter", "serde"] }
default = derive

The derive feature is set by default whenever miette is added without default-features = false somewhere in the dependency tree.

derive default = miette-derive
fancy-no-backtrace fancy? syntect-highlighter? = owo-colors, supports-color, supports-hyperlinks, supports-unicode, terminal_size, textwrap

Affects miette::highlighters

fancy = backtrace, backtrace-ext, fancy-no-backtrace
syntect-highlighter = fancy-no-backtrace, syntect

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features.

miette-derive derive
owo-colors fancy-no-backtrace?
textwrap fancy-no-backtrace?
supports-color fancy-no-backtrace?
supports-unicode fancy-no-backtrace?
backtrace fancy?
terminal_size fancy-no-backtrace?
backtrace-ext fancy?
serde implicit feature

Enables serde


A generic serialization/deserialization framework

syntect syntect-highlighter?