Cargo Features

[dependencies]
miette = { version = "7.4.0", default-features = false, features = ["derive", "no-format-args-capture", "fancy-base", "fancy-no-syscall", "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

Enables miette-derive

no-format-args-capture
fancy-base fancy-no-backtrace? fancy-no-syscall?

Enables owo-colors and textwrap

Affects miette::highlighters

fancy-no-syscall = fancy-base
fancy-no-backtrace fancy? syntect-highlighter? = fancy-base

Enables supports-color, supports-hyperlinks, supports-unicode, and terminal_size

fancy = fancy-no-backtrace

Enables backtrace and backtrace-ext

syntect-highlighter = fancy-no-backtrace

Enables syntect

Features from optional dependencies

serde implicit feature

Enables serde

serde:

A generic serialization/deserialization framework