mers/mers_lib/Cargo.toml
Mark 7a945e80ba improve and move theming traits
move pretty_print.rs from mers to mers_lib
2024-06-26 12:54:04 +02:00

29 lines
841 B
TOML
Executable File

[package]
name = "mers_lib"
version = "0.8.16"
edition = "2021"
license = "MIT OR Apache-2.0"
description = "library to use the mers language in other projects"
keywords = ["scripting"]
readme = "README.md"
repository = "https://github.com/Dummi26/mers"
[features]
default = ["parse"]
# for parsing and running mers code (for most situations: just enable parse)
parse = ["run"]
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]
line-span = "0.1.5"
colored = { version = "2.1.0", optional = true }
html-escape = { version = "0.2.13", optional = true }