[package] name = "engarde" version = "0.1.11" description = "Fenced Code Formatting" homepage = "https://github.com/cobalt-org/cobalt.rs/tree/master/crates/engarde" documentation = "http://docs.rs/engarde" readme = "README.md" keywords = ["syntax", "highlighting", "highlighter", "colouring", "parsing"] categories = ["parser-implementations", "parsing", "text-processing"] license.workspace = true repository.workspace = true edition.workspace = true rust-version.workspace = true include.workspace = true [package.metadata.docs.rs] all-features = true rustdoc-args = ["--cfg", "docsrs"] [package.metadata.release] pre-release-replacements = [ {file="CHANGELOG.md", search="Unreleased", replace="{{version}}", min=1}, {file="CHANGELOG.md", search="\\.\\.\\.HEAD", replace="...{{tag_name}}", exactly=1}, {file="CHANGELOG.md", search="ReleaseDate", replace="{{date}}", min=1}, {file="CHANGELOG.md", search="", replace="\n## [Unreleased] - ReleaseDate\n", exactly=1}, {file="CHANGELOG.md", search="", replace="\n[Unreleased]: https://github.com/cobalt-org/cobalt.rs/compare/{{tag_name}}...HEAD", exactly=1}, ] [features] default = [] syntax = ["syntect"] [dependencies.syntect] version = "5.2.0" optional = true default-features = false features = ["parsing", "regex-fancy", "default-syntaxes", "default-themes", "html", "dump-load", "yaml-load"] [target.'cfg(any())'.dependencies] thiserror = "1.0.2" # HACK: bad minimal dep in syntect [lints] workspace = true