[package]
edition = "2021"
name = "wikrs"
version = "0.4.0"
build = false
exclude = [
".github/",
".claude/",
".cargo/",
"tools/",
"scripts/",
"WORKLOG.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Fast, honest wikitext extraction and parsing in Rust"
readme = "README.md"
keywords = [
"wikitext",
"wikipedia",
"mediawiki",
"parser",
"nlp",
]
categories = [
"text-processing",
"parser-implementations",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/SFARL/wikrs"
[lib]
name = "wikrs"
path = "src/lib.rs"
[[bin]]
name = "wikrs"
path = "src/main.rs"
[[example]]
name = "diag_tally"
path = "examples/diag_tally.rs"
[[example]]
name = "md_repro"
path = "examples/md_repro.rs"
[[example]]
name = "show_page"
path = "examples/show_page.rs"
[[test]]
name = "cli"
path = "tests/cli.rs"
[[test]]
name = "diff_report"
path = "tests/diff_report.rs"
[[test]]
name = "dump_open"
path = "tests/dump_open.rs"
[[test]]
name = "markdown_roundtrip"
path = "tests/markdown_roundtrip.rs"
[[test]]
name = "markdown_snapshots"
path = "tests/markdown_snapshots.rs"
[[test]]
name = "parse_snapshots"
path = "tests/parse_snapshots.rs"
[[test]]
name = "parser_tests"
path = "tests/parser_tests.rs"
[[test]]
name = "robustness"
path = "tests/robustness.rs"
[[test]]
name = "strip_snapshots"
path = "tests/strip_snapshots.rs"
[[bench]]
name = "compare"
path = "benches/compare.rs"
harness = false
[dependencies.anyhow]
version = "1"
[dependencies.bzip2]
version = "0.6.1"
[dependencies.clap]
version = "4"
features = ["derive"]
[dependencies.quick-xml]
version = "0.40.1"
[dependencies.rayon]
version = "1.12.0"
[dependencies.serde]
version = "1.0.228"
features = ["derive"]
[dependencies.serde_json]
version = "1.0.150"
[dev-dependencies.criterion]
version = "0.8.2"
features = ["html_reports"]
[dev-dependencies.insta]
version = "1.48.0"
[dev-dependencies.parse_wiki_text]
version = "0.1.5"
[dev-dependencies.pulldown-cmark]
version = "0.13"