# 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 = "2018" name = "parse-mediawiki-sql" version = "0.10.0" authors = ["Erutuon <5840197+Erutuon@users.noreply.github.com>"] description = "A parser for SQL dumps of a MediaWiki database" homepage = "https://github.com/Erutuon/parse-mediawiki-sql" readme = "README.md" license = "MIT" repository = "https://github.com/Erutuon/parse-mediawiki-sql" [package.metadata.docs.rs] features = [ "serialization", "utils", ] rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "parse_mediawiki_sql" [[example]] name = "categorylinks" required-features = ["utils"] [[example]] name = "category_members" required-features = ["utils"] [[example]] name = "count_pages_by_content_model" required-features = ["utils"] [[example]] name = "count_rows" required-features = ["utils"] [[example]] name = "page_props" required-features = ["utils"] [[example]] name = "random_page" required-features = ["utils"] [[example]] name = "redirects_by_namespace" required-features = ["utils"] [[example]] name = "template_redirects" required-features = ["utils"] [dependencies.bstr] version = "0.2" [dependencies.chrono] version = "0.4" features = ["std"] default-features = false [dependencies.either] version = "1.6.1" [dependencies.joinery] version = "2.0.0" [dependencies.memmap2] version = "0.5.0" optional = true [dependencies.mwtitle] version = "0.1" features = ["utils"] optional = true default-features = false [dependencies.nom] version = "7.1.0" [dependencies.ordered-float] version = "2.5" [dependencies.serde] version = "1" features = ["derive"] optional = true [dependencies.thiserror] version = "1.0.24" optional = true [dependencies.unicase] version = "2.6.0" [dev-dependencies.anyhow] version = "1.0.32" [dev-dependencies.pico-args] version = "0.4" [dev-dependencies.rand] version = "0.8" [dev-dependencies.serde] version = "1" features = ["derive"] [dev-dependencies.serde_json] version = "1.0.64" [dev-dependencies.smartstring] version = "0.2.5" features = ["serde"] [dev-dependencies.static_assertions] version = "1.1.0" [features] serialization = [ "serde", "chrono/serde", ] utils = [ "memmap2", "thiserror", "mwtitle", ]