[package]
edition = "2024"
rust-version = "1.85"
name = "ferromark"
version = "0.3.3"
build = false
exclude = [
"benchmarks/md4c-comparison",
"benchmarks/pulldown-comparison",
"node",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Ultra-high-performance Markdown to HTML compiler"
homepage = "https://github.com/sebastian-software/ferromark"
readme = "README.md"
keywords = [
"markdown",
"html",
"parser",
"commonmark",
"gfm",
]
categories = [
"parsing",
"text-processing",
"web-programming",
]
license = "MIT"
repository = "https://github.com/sebastian-software/ferromark"
resolver = "2"
[features]
default = []
mdx = []
profiling = []
[lib]
name = "ferromark"
path = "src/lib.rs"
[[bin]]
name = "ferromark"
path = "src/main.rs"
[[example]]
name = "fenced_code_renderer"
path = "examples/fenced_code_renderer.rs"
[[example]]
name = "mdx_segment"
path = "examples/mdx_segment.rs"
required-features = ["mdx"]
[[test]]
name = "callout_tests"
path = "tests/callout_tests.rs"
[[test]]
name = "commonmark_spec"
path = "tests/commonmark_spec.rs"
[[test]]
name = "fenced_code_renderer_tests"
path = "tests/fenced_code_renderer_tests.rs"
[[test]]
name = "footnote_tests"
path = "tests/footnote_tests.rs"
[[test]]
name = "front_matter_tests"
path = "tests/front_matter_tests.rs"
[[test]]
name = "gfm_autolink_tests"
path = "tests/gfm_autolink_tests.rs"
[[test]]
name = "gfm_disallowed_html_tests"
path = "tests/gfm_disallowed_html_tests.rs"
[[test]]
name = "gfm_strikethrough_tests"
path = "tests/gfm_strikethrough_tests.rs"
[[test]]
name = "gfm_table_tests"
path = "tests/gfm_table_tests.rs"
[[test]]
name = "gfm_task_list_tests"
path = "tests/gfm_task_list_tests.rs"
[[test]]
name = "heading_id_tests"
path = "tests/heading_id_tests.rs"
[[test]]
name = "highlight_tests"
path = "tests/highlight_tests.rs"
[[test]]
name = "math_tests"
path = "tests/math_tests.rs"
[[test]]
name = "mdx_segment_tests"
path = "tests/mdx_segment_tests.rs"
[[test]]
name = "profile_tests"
path = "tests/profile_tests.rs"
[[test]]
name = "resource_limits_tests"
path = "tests/resource_limits_tests.rs"
[[test]]
name = "subscript_tests"
path = "tests/subscript_tests.rs"
[[test]]
name = "superscript_tests"
path = "tests/superscript_tests.rs"
[[test]]
name = "untrusted_rendering_tests"
path = "tests/untrusted_rendering_tests.rs"
[[bench]]
name = "fenced_code_renderer"
path = "benches/fenced_code_renderer.rs"
harness = false
[[bench]]
name = "footnotes"
path = "benches/footnotes.rs"
harness = false
[[bench]]
name = "parsing"
path = "benches/parsing.rs"
harness = false
[[bench]]
name = "profiles"
path = "benches/profiles.rs"
harness = false
[dependencies.html-escape]
version = "0.2"
default-features = false
[dependencies.memchr]
version = "2.7"
[dependencies.rustc-hash]
version = "2.0"
[dependencies.smallvec]
version = "1.13"
[dependencies.unicode-ident]
version = "1.0"
[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]
[dev-dependencies.proptest]
version = "1.4"
[dev-dependencies.serde]
version = "1.0"
features = ["derive"]
[dev-dependencies.serde_json]
version = "1.0"
[profile.bench]
debug = 2
inherits = "release"
[profile.release]
opt-level = 3
lto = "fat"
codegen-units = 1
panic = "abort"
strip = true
[profile.release-debug]
debug = 2
inherits = "release"
strip = false