# 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 = "mwbot" version = "0.7.0-rc.2" description = "A MediaWiki bot framework" homepage = "https://www.mediawiki.org/wiki/mwbot-rs" readme = "README.md" keywords = [ "mediawiki", "api", "bot", "robot", "framework", ] 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 [dependencies.dirs] version = "5.0.1" [dependencies.mwapi] version = "^0.7.0-rc.1" [dependencies.mwapi_responses] version = "^0.5.0-rc.1" features = ["mwapi-07"] [dependencies.mwbot_derive] version = "=0.7.0-rc.2" optional = true [dependencies.mwtimestamp] version = "^0.1.1" [dependencies.mwtitle] version = "^0.2.4" [dependencies.once_cell] version = "1.19.0" [dependencies.parsoid] version = "^0.10.0-rc.2" [dependencies.reqwest] version = "0.12.4" default-features = false [dependencies.serde] version = "1" features = ["derive"] [dependencies.serde_json] version = "1.0" [dependencies.thiserror] version = "1.0" [dependencies.tokio] version = "1.38" features = [ "sync", "time", ] [dependencies.toml] version = "0.8.14" [dependencies.tracing] version = "0.1" [dependencies.tracing-subscriber] version = "0.3" features = ["env-filter"] [dev-dependencies.chrono] version = "0.4.38" default-features = false [dev-dependencies.tokio] version = "1.38" features = ["macros"] [dev-dependencies.trybuild] version = "1.0.96" [features] default = [ "generators", "upload", ] generators = [ "mwbot_derive", "tokio/rt", ] linter = [] upload = ["mwapi/upload"] [target."cfg(unix)".dependencies.libc] version = "0.2"