# 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 = "toolforge" version = "5.8.0" authors = ["Kunal Mehta "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Small library for common tasks on Wikimedia Toolforge" homepage = "https://wikitech.wikimedia.org/wiki/User:Legoktm/toolforge_library" readme = "README.md" keywords = [ "toolforge", "wikimedia", ] categories = [ "command-line-utilities", "database", ] license = "GPL-3.0-or-later" repository = "https://gitlab.wikimedia.org/repos/mwbot-rs/toolforge" [package.metadata.docs.rs] all-features = true [lib] name = "toolforge" path = "src/lib.rs" [[bin]] name = "toolforge-tunnel" path = "src/bin/cli.rs" required-features = ["cli"] [dependencies.clap] version = "4.0" features = ["derive"] optional = true [dependencies.dirs] version = "5.0.0" optional = true [dependencies.futures] version = "0.3" optional = true [dependencies.mysql_async] version = "0.32.2" features = ["minimal"] optional = true default-features = false [dependencies.rust-ini] version = "0.20.0" optional = true [dependencies.thiserror] version = "1.0.20" optional = true [dependencies.tokio] version = "1.23.0" features = ["sync"] optional = true [features] cli = [ "futures", "tokio/full", "clap", ] default = [] mysql = [ "rust-ini", "dirs", "thiserror", ] wikipool = [ "mysql", "mysql_async", "tokio", ]