[package]
edition = "2024"
rust-version = "1.85"
name = "mdi-core"
version = "2.0.7"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Language-neutral parser for MDI 2.0 syntax"
documentation = "https://docs.rs/mdi-core"
readme = "README.md"
keywords = [
"markdown",
"mdi",
"ruby",
"typesetting",
]
categories = [
"parser-implementations",
"text-processing",
]
license = "MIT"
repository = "https://github.com/illusions-lab/MDI"
[package.metadata.wasm-pack.profile.release]
wasm-opt = false
[features]
wasm = [
"dep:wasm-bindgen",
"dep:js-sys",
]
[lib]
name = "mdi_core"
crate-type = [
"cdylib",
"staticlib",
"rlib",
]
path = "src/lib.rs"
[[test]]
name = "html_table_semantics"
path = "tests/html_table_semantics.rs"
[[test]]
name = "large_document_performance"
path = "tests/large_document_performance.rs"
[[test]]
name = "note_export_contracts"
path = "tests/note_export_contracts.rs"
[[test]]
name = "platform_export_contracts"
path = "tests/platform_export_contracts.rs"
[[test]]
name = "source_span_resolution"
path = "tests/source_span_resolution.rs"
[[test]]
name = "text_projection_golden_scale"
path = "tests/text_projection_golden_scale.rs"
[[test]]
name = "text_projection_invariants"
path = "tests/text_projection_invariants.rs"
[[test]]
name = "text_projection_property"
path = "tests/text_projection_property.rs"
[[test]]
name = "text_projection_render_parity"
path = "tests/text_projection_render_parity.rs"
[[test]]
name = "warichu_layout"
path = "tests/warichu_layout.rs"
[dependencies.js-sys]
version = "0.3"
optional = true
[dependencies.markdown]
version = "1.0.0"
features = ["serde"]
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.serde_yaml]
version = "0.9"
[dependencies.time]
version = "=0.3.41"
features = ["formatting"]
[dependencies.unicode-segmentation]
version = "1.12.0"
[dependencies.wasm-bindgen]
version = "0.2"
optional = true
[dependencies.zip]
version = "2.2"
features = ["deflate"]
default-features = false
[dev-dependencies.proptest]
version = "1.7"
[lints.rust]
unsafe_code = "deny"