Cargo Features
[dependencies]
miette = { version = "7.2.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 whenevermiette
is added without
somewhere in the dependency tree.default-features = false - derive default = miette-derive
- no-format-args-capture
- fancy-base fancy-no-backtrace? fancy-no-syscall? = owo-colors, textwrap
-
Affects
miette::highlighters
… - fancy-no-syscall = fancy-base
- fancy-no-backtrace fancy? syntect-highlighter? = fancy-base, supports-color, supports-hyperlinks, supports-unicode, terminal_size
- 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. These features may have been created by mistake, and this functionality may be removed in the future.
- miette-derive derive
- owo-colors fancy-base?
- textwrap fancy-base?
- supports-hyperlinks fancy-no-backtrace?
- supports-color fancy-no-backtrace?
- supports-unicode fancy-no-backtrace?
- backtrace fancy?
- terminal_size fancy-no-backtrace?
-
Enables terminal_size ^0.3.0
- backtrace-ext fancy?
- serde implicit feature
-
Enables serde
serde:
A generic serialization/deserialization framework
- syntect syntect-highlighter?