mirror of
https://github.com/Dummi26/mers.git
synced 2025-12-12 02:16:51 +01:00
improve and move theming traits
move pretty_print.rs from mers to mers_lib
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "mers_lib"
|
||||
version = "0.8.15"
|
||||
version = "0.8.16"
|
||||
edition = "2021"
|
||||
license = "MIT OR Apache-2.0"
|
||||
description = "library to use the mers language in other projects"
|
||||
@@ -17,7 +17,12 @@ run = []
|
||||
|
||||
# color features are used when formatting error messages.
|
||||
ecolor-term = ["dep:colored"]
|
||||
ecolor-html = ["dep:html-escape"]
|
||||
|
||||
# pretty-print requires ecolor-term, but this is not listed here because I want people to explicitly opt-in to the extra `colored` dependency via the ecolor-term feature.
|
||||
pretty-print = []
|
||||
|
||||
[dependencies]
|
||||
colored = { version = "2.1.0", optional = true }
|
||||
line-span = "0.1.5"
|
||||
colored = { version = "2.1.0", optional = true }
|
||||
html-escape = { version = "0.2.13", optional = true }
|
||||
|
||||
Reference in New Issue
Block a user