[package]
edition = "2024"
rust-version = "1.85"
name = "ferromark"
version = "0.1.3"
build = "build.rs"
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"
[features]
default = ["std"]
mdx = []
neon = []
std = []
trace = []
[lib]
name = "ferromark"
path = "src/lib.rs"
[[bin]]
name = "ferromark"
path = "src/main.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 = "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 = "math_tests"
path = "tests/math_tests.rs"
[[test]]
name = "mdx_segment_tests"
path = "tests/mdx_segment_tests.rs"
[[bench]]
name = "comparison"
path = "benches/comparison.rs"
harness = false
[[bench]]
name = "parsing"
path = "benches/parsing.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"
[dev-dependencies.comrak]
version = "0.50"
[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]
[dev-dependencies.proptest]
version = "1.4"
[dev-dependencies.pulldown-cmark]
version = "0.13"
[dev-dependencies.serde]
version = "1.0"
features = ["derive"]
[dev-dependencies.serde_json]
version = "1.0"
[build-dependencies.cc]
version = "1.1"
[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