[package]
edition = "2021"
rust-version = "1.87"
name = "rushdown"
version = "0.16.0"
authors = ["Yusuke Inuzuka <yuin@inforno.net>"]
build = "build.rs"
exclude = ["/script/*"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A 100% CommonMark-compatible GitHub Flavored Markdown parser and renderer"
homepage = "https://github.com/yuin/rushdown"
documentation = "https://docs.rs/rushdown"
readme = "README.md"
keywords = [
"markdown",
"commonmark",
]
categories = ["text-processing"]
license = "MIT"
repository = "https://github.com/yuin/rushdown"
resolver = "2"
[features]
alloc = []
default = [
"std",
"html-entities",
]
hashbrown = ["dep:hashbrown"]
html-entities = []
no-std = [
"alloc",
"hashbrown",
]
no-std-unix-debug = [
"no-std",
"dep:libc",
]
pp-ast = []
profile = ["dep:pprof"]
std = []
[lib]
name = "rushdown"
path = "src/lib.rs"
[[bin]]
name = "profile"
path = "src/bin/profile.rs"
required-features = ["profile"]
[[test]]
name = "ast"
path = "tests/ast.rs"
[[test]]
name = "commonmark_spec"
path = "tests/commonmark_spec.rs"
[[test]]
name = "extension"
path = "tests/extension.rs"
[[test]]
name = "extra"
path = "tests/extra.rs"
[[test]]
name = "gfm"
path = "tests/gfm.rs"
[[test]]
name = "options"
path = "tests/options.rs"
[[test]]
name = "override_renderer"
path = "tests/override_renderer.rs"
[[bench]]
name = "benchmarks"
path = "benches/benchmarks.rs"
harness = false
[dependencies.bitflags]
version = "2.9.3"
[dependencies.hashbrown]
version = "0.15.2"
optional = true
[dependencies.libc]
version = "0.2"
optional = true
default-features = false
[dependencies.memchr]
version = "2"
default-features = false
[dependencies.phf]
version = "0.13.1"
default-features = false
[dependencies.pprof]
version = "0.15"
features = [
"criterion",
"protobuf",
"flamegraph",
"prost-codec",
]
optional = true
[dev-dependencies.comrak]
version = "0.50"
[dev-dependencies.criterion]
version = "0.8.1"
[dev-dependencies.markdown]
version = "1.0.0"
[dev-dependencies.pulldown-cmark]
version = "0.13.0"
[dev-dependencies.serde]
version = "1"
features = ["derive"]
[dev-dependencies.serde_json]
version = "1"
[build-dependencies.phf]
version = "0.13.1"
default-features = false
[build-dependencies.phf_codegen]
version = "0.13.1"
[profile.release]
opt-level = 3
lto = true
codegen-units = 1
debug = 0
panic = "abort"