[[bench]]
name = "progit"
path = "benches/progit.rs"
[[bin]]
doc = false
name = "comrak"
path = "src/main.rs"
required-features = ["cli", "syntect"]
[dependencies.arbitrary]
features = ["derive"]
optional = true
version = "1"
[dependencies.caseless]
version = "0.2.1"
[dependencies.derive_builder]
version = "0.20.0"
[dependencies.emojis]
optional = true
version = "0.6.2"
[dependencies.entities]
version = "1.0.1"
[dependencies.memchr]
version = "2"
[dependencies.once_cell]
version = "1.19.0"
[dependencies.regex]
version = "1"
[dependencies.shell-words]
optional = true
version = "1.0"
[dependencies.slug]
version = "0.1.4"
[dependencies.typed-arena]
version = "2.0.2"
[dependencies.unicode_categories]
version = "0.1.1"
[dev-dependencies.ntest]
version = "0.9"
[dev-dependencies.toml]
version = "0.7.3"
[[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"
[[example]]
name = "sample"
path = "examples/sample.rs"
[[example]]
name = "syntax_highlighter"
path = "examples/syntax_highlighter.rs"
[[example]]
name = "syntect"
path = "examples/syntect.rs"
[[example]]
name = "traverse_demo"
path = "examples/traverse_demo.rs"
[[example]]
name = "update-readme"
path = "examples/update-readme.rs"
[features]
cli = ["clap", "shell-words", "xdg"]
default = ["cli", "syntect"]
shortcodes = ["emojis"]
[lib]
name = "comrak"
path = "src/lib.rs"
[package]
authors = ["Asherah Connor <ashe@kivikakk.ee>"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = false
categories = ["text-processing", "parsing", "command-line-utilities"]
description = "A 100% CommonMark-compatible GitHub Flavored Markdown parser and formatter"
documentation = "https://docs.rs/comrak"
edition = "2018"
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 = "2"
rust-version = "1.62.1"
version = "0.28.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 = "^2.5"
[target.'cfg(not(target_arch="wasm32"))'.dependencies.clap]
features = ["derive", "string", "wrap_help"]
optional = true
version = "4.0"
[target.'cfg(not(target_arch="wasm32"))'.dependencies.syntect]
default-features = false
features = ["default-themes", "default-syntaxes", "html", "regex-onig"]
optional = true
version = "5.0"
[target.'cfg(target_arch="wasm32")'.dependencies.clap]
features = ["derive", "string"]
optional = true
version = "4.0.32"
[target.'cfg(target_arch="wasm32")'.dependencies.syntect]
default-features = false
features = ["default-fancy"]
optional = true
version = "5.0"