[package]
edition = "2024"
name = "markdown-it-rs"
version = "0.6.2"
authors = [
"Alex Kocharin <alex@kocharin.ru>",
"GSGFs7",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust port of popular markdown-it.js library. Forked from markdown-it-rust/markdown-it"
homepage = "https://github.com/GSGFs7/markdown-it-rs"
documentation = "https://docs.rs/markdown-it-rs"
readme = "README.md"
keywords = [
"markdown",
"commonmark",
]
categories = [
"text-processing",
"parsing",
]
license = "MIT"
repository = "https://github.com/GSGFs7/markdown-it-rs"
[features]
cli = ["dep:clap"]
default = [
"linkify",
"syntect",
]
katex = ["dep:katex-rs"]
syntect = ["dep:syntect"]
[lib]
name = "markdown_it"
path = "src/lib.rs"
[[bin]]
name = "markdown-it"
path = "src/bin.rs"
doc = false
required-features = ["cli"]
[[example]]
name = "ferris"
path = "examples/ferris/main.rs"
[[example]]
name = "syntect"
path = "examples/syntect/main.rs"
required-features = ["syntect"]
[[test]]
name = "commonmark"
path = "tests/commonmark.rs"
[[test]]
name = "extras"
path = "tests/extras.rs"
[[test]]
name = "front_matter"
path = "tests/front_matter.rs"
[[test]]
name = "linkify"
path = "tests/linkify.rs"
[[test]]
name = "markdown-it"
path = "tests/markdown-it.rs"
[[test]]
name = "markdown-it-smartquotes"
path = "tests/markdown-it-smartquotes.rs"
[[test]]
name = "markdown-it-typographer"
path = "tests/markdown-it-typographer.rs"
[[test]]
name = "math"
path = "tests/math.rs"
[[test]]
name = "pathological"
path = "tests/pathological.rs"
[[test]]
name = "sourcemaps"
path = "tests/sourcemaps.rs"
[dependencies.clap]
version = ">= 4.0.0, < 5"
optional = true
[dependencies.const_format]
version = ">= 0.1.0, < 0.3"
[dependencies.derive_more]
version = ">= 0.99.0, < 3"
features = [
"deref",
"deref_mut",
]
[dependencies.downcast-rs]
version = ">= 1.0.2, < 3"
[dependencies.entities]
version = ">= 0.1.0, < 2"
[dependencies.html-escape]
version = ">= 0.1.0, < 0.3"
[dependencies.katex-rs]
version = "0.2.4"
optional = true
[dependencies.linkify]
version = ">= 0.5.0, < 0.12"
optional = true
[dependencies.mdurl]
version = "0.1.0"
package = "markdown-it-rs-url"
[dependencies.once_cell]
version = ">= 1.0.1, < 2"
[dependencies.readonly]
version = ">= 0.2.0, < 0.3"
[dependencies.regex]
version = ">= 1.0.0, < 2"
[dependencies.stacker]
version = ">= 0.1.2, < 0.2"
[dependencies.syntect]
version = ">= 5.0.0, < 6"
features = [
"default-fancy",
"html",
]
optional = true
default-features = false
[dependencies.unicode-general-category]
version = ">= 0.1.0, < 1.2"
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(tarpaulin_include)"]