wikioxide 0.1.0

MediaWiki wikitext parser producing typed domain models (templates, links, categories, warnings) with template expansion — no HTML, no network
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.85"
name = "wikioxide"
version = "0.1.0"
build = false
exclude = ["/presets/*.orig.json"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "MediaWiki wikitext parser producing typed domain models (templates, links, categories, warnings) with template expansion — no HTML, no network"
readme = "README.md"
keywords = [
    "mediawiki",
    "wikitext",
    "wikipedia",
    "parser",
    "wiki",
]
categories = [
    "parser-implementations",
    "text-processing",
]
license = "WTFPL"
repository = "https://github.com/newmcpe/wikioxide"

[package.metadata.docs.rs]
all-features = true

[features]
default = ["presets"]
parity = ["serde"]
presets = [
    "dep:serde",
    "dep:serde_json",
]
serde = ["dep:serde"]

[lib]
name = "wikioxide"
path = "src/lib.rs"

[[test]]
name = "checklist"
path = "tests/checklist.rs"

[[test]]
name = "discussion_e2e"
path = "tests/discussion_e2e.rs"

[[test]]
name = "expand"
path = "tests/expand.rs"

[[test]]
name = "parser_tests"
path = "tests/parser_tests.rs"

[[test]]
name = "properties"
path = "tests/properties.rs"

[dependencies.serde]
version = "1"
features = ["derive"]
optional = true

[dependencies.serde_json]
version = "1"
optional = true

[dependencies.thiserror]
version = "2"

[dev-dependencies.proptest]
version = "1"

[dev-dependencies.serde_json]
version = "1"

[lints.clippy]
dbg_macro = "deny"
expect_used = "deny"
panic = "deny"
print_stderr = "deny"
print_stdout = "deny"
todo = "deny"
unimplemented = "deny"
unwrap_used = "deny"

[lints.rust]
missing_docs = "deny"
unsafe_code = "forbid"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(coverage_nightly)"]

[lints.rustdoc]
broken_intra_doc_links = "deny"