# 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"
name = "mediawiki"
version = "0.5.1"
authors = ["Magnus Manske <magnusmanske@proton.me>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A MediaWiki client library"
readme = "README.md"
keywords = [
    "MediaWiki",
    "API",
]
categories = [
    "api-bindings",
    "authentication",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/magnusmanske/mediawiki_rust"

[features]
default = ["default-tls"]
default-tls = ["reqwest/default-tls"]

[lib]
name = "mediawiki"
path = "src/lib.rs"
doctest = false

[dependencies.async-trait]
version = "^0.1"

[dependencies.base64]
version = "^0.22"

[dependencies.chrono]
version = "^0.4"

[dependencies.config]
version = "^0.14"

[dependencies.futures]
version = "^0.3"

[dependencies.hmac]
version = "^0.12"

[dependencies.nanoid]
version = "^0.4"

[dependencies.reqwest]
version = "^0.13"
features = [
    "blocking",
    "cookies",
    "json",
    "query",
    "form",
    "gzip",
]
default-features = false

[dependencies.serde]
version = "^1"

[dependencies.serde_json]
version = "^1"

[dependencies.sha1]
version = "^0.10"

[dependencies.strum]
version = "^0.28"
features = ["derive"]

[dependencies.tokio]
version = "^1"
features = [
    "full",
    "rt-multi-thread",
]

[dependencies.unicode-case-mapping]
version = "^0.5"

[dependencies.url]
version = "^2.5"

[dependencies.urlencoding]
version = "^2"

[dev-dependencies.lazy_static]
version = "^1.4"

[dev-dependencies.wiremock]
version = "^0.6"
