# 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 = "2021" rust-version = "1.74" name = "mwtitle" version = "0.2.5" build = false autobins = false autoexamples = false autotests = false autobenches = false description = "MediaWiki title validation and formatting" homepage = "https://www.mediawiki.org/wiki/mwbot-rs" readme = "README.md" keywords = [ "mediawiki", "title", "mwbot", ] categories = ["web-programming"] license = "GPL-3.0-or-later" repository = "https://gitlab.wikimedia.org/repos/mwbot-rs/mwbot/" [package.metadata.docs.rs] all-features = true [lib] name = "mwtitle" path = "src/lib.rs" [[test]] name = "validation" path = "tests/validation.rs" [[bench]] name = "title" path = "benches/title.rs" harness = false required-features = ["utils"] [dependencies.bytemuck] version = "1.16.0" [dependencies.flate2] version = "1.0.30" optional = true [dependencies.regex] version = "1.10.4" features = ["std"] optional = true default-features = false [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde_json] version = "1.0.117" optional = true [dependencies.thiserror] version = "1.0" [dependencies.tinyvec] version = "1.6" optional = true [dev-dependencies.anyhow] version = "1" [dev-dependencies.cached] version = "0.51" features = ["async"] [dev-dependencies.criterion] version = "0.5" [dev-dependencies.reqwest] version = "0.12" features = [ "json", "gzip", "rustls-tls", ] default-features = false [dev-dependencies.tokio] version = "1" features = [ "macros", "rt", "rt-multi-thread", ] [features] default = ["parsing"] parsing = [ "regex", "tinyvec", ] utils = [ "flate2", "serde_json", ]