mirror of https://github.com/zkat/miette.git
fix(handlers): Disable textwrap::smawk feature (#379)
This commit is contained in:
parent
9bbcf3c601
commit
edfdcb525e
|
|
@ -19,7 +19,7 @@ unicode-width = "0.1.11"
|
|||
cfg-if = "1.0.0"
|
||||
|
||||
owo-colors = { version = "4.0.0", optional = true }
|
||||
textwrap = { version = "0.16.0", optional = true }
|
||||
textwrap = { version = "0.16.0", default-features = false, features = ["unicode-linebreak", "unicode-width"], optional = true }
|
||||
supports-hyperlinks = { version = "3.0.0", optional = true }
|
||||
supports-color = { version = "3.0.0", optional = true }
|
||||
supports-unicode = { version = "3.0.0", optional = true }
|
||||
|
|
|
|||
|
|
@ -159,7 +159,7 @@ impl GraphicalReportHandler {
|
|||
self
|
||||
}
|
||||
|
||||
/// Sets the word splitter to usewhen wrapping.
|
||||
/// Sets the word splitter to use when wrapping.
|
||||
pub fn with_word_splitter(mut self, word_splitter: textwrap::WordSplitter) -> Self {
|
||||
self.word_splitter = Some(word_splitter);
|
||||
self
|
||||
|
|
|
|||
Loading…
Reference in New Issue