comrak 0.50.0

A 100% CommonMark-compatible GitHub Flavored Markdown parser and formatter
Documentation
[[bench]]
harness = false
name = "progits"
path = "benches/progits.rs"

[[bin]]
doc = false
name = "comrak"
path = "src/main.rs"
required-features = ["cli"]

[build-dependencies.entities]
version = "1"

[build-dependencies.phf_codegen]
version = "0.13"

[dependencies.arbitrary]
features = ["derive"]
optional = true
version = "1"

[dependencies.bon]
optional = true
version = "3"

[dependencies.caseless]
version = "0.2"

[dependencies.emojis]
optional = true
version = "0.8"

[dependencies.fmt2io]
optional = true
version = "1.0.0"

[dependencies.jetscii]
version = "0.5.3"

[dependencies.phf]
version = "0.13"

[dependencies.rustc-hash]
version = "2"

[dependencies.shell-words]
optional = true
version = "1.1"

[dependencies.smallvec]
version = "1.13"

[dependencies.typed-arena]
version = "2.0.2"

[dependencies.unicode_categories]
version = "0.1.1"

[dev-dependencies.divan]
package = "codspeed-divan-compat"
version = "4.2.0"

[dev-dependencies.glob]
version = "0.3.3"

[dev-dependencies.ntest]
version = "0.9"

[dev-dependencies.percent-encoding-rfc3986]
version = "0.1.3"

[dev-dependencies.pretty_assertions]
version = "1.4.1"

[dev-dependencies.slug]
version = "0.1.4"

[dev-dependencies.strum]
features = ["derive"]
version = "0.27.2"

[dev-dependencies.toml]
version = "0.9.10"

[[example]]
name = "custom_formatter"
path = "examples/custom_formatter.rs"

[[example]]
name = "custom_formatter_alt_text"
path = "examples/custom_formatter_alt_text.rs"

[[example]]
name = "custom_formatter_user"
path = "examples/custom_formatter_user.rs"

[[example]]
name = "custom_headings"
path = "examples/custom_headings.rs"

[[example]]
name = "headers"
path = "examples/headers.rs"

[[example]]
name = "iterator_replace"
path = "examples/iterator_replace.rs"

[[example]]
name = "s-expr"
path = "examples/s-expr.rs"
required-features = ["bon"]

[[example]]
name = "sample"
path = "examples/sample.rs"

[[example]]
name = "syntax_highlighter"
path = "examples/syntax_highlighter.rs"

[[example]]
name = "syntect"
path = "examples/syntect.rs"
required-features = ["syntect"]

[[example]]
name = "traverse_demo"
path = "examples/traverse_demo.rs"

[[example]]
name = "update-readme"
path = "examples/update-readme.rs"

[features]
bon = ["dep:bon"]
cli = ["clap", "bon", "shell-words", "xdg", "fmt2io", "shortcodes", "phoenix_heex"]
default = ["cli", "syntect", "bon"]
phoenix_heex = []
shortcodes = ["emojis"]

[lib]
name = "comrak"
path = "src/lib.rs"

[package]
authors = ["Asherah Connor <ashe@kivikakk.ee>", "Brett Walker <github@digitalmoksha.com>", "gjtorikian"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = "build.rs"
categories = ["text-processing", "parsing", "command-line-utilities"]
description = "A 100% CommonMark-compatible GitHub Flavored Markdown parser and formatter"
documentation = "https://docs.rs/comrak"
edition = "2024"
exclude = ["/hooks/*", "/script/*", "/vendor/*", "/.travis.yml", "/Makefile", "/spec_out.txt"]
homepage = "https://github.com/kivikakk/comrak"
keywords = ["markdown", "commonmark"]
license = "BSD-2-Clause"
name = "comrak"
readme = "README.md"
repository = "https://github.com/kivikakk/comrak"
resolver = "3"
rust-version = "1.85"
version = "0.50.0"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]

[profile.release]
lto = true

[target.'cfg(all(not(windows), not(target_arch="wasm32")))'.dependencies.xdg]
optional = true
version = "3"

[target.'cfg(any(target_arch = "wasm32", target_os = "ios"))'.dependencies.syntect]
default-features = false
features = ["default-fancy"]
optional = true
version = "5"

[target.'cfg(not(any(target_arch = "wasm32", target_os = "ios")))'.dependencies.syntect]
default-features = false
features = ["default-themes", "default-syntaxes", "html", "regex-onig"]
optional = true
version = "5"

[target.'cfg(not(target_arch="wasm32"))'.dependencies.clap]
features = ["derive", "string", "wrap_help"]
optional = true
version = "4"

[target.'cfg(target_arch="wasm32")'.dependencies.clap]
features = ["derive", "string"]
optional = true
version = "4"