Cargo Features

Toolforge has no features set by default.

[dependencies]
toolforge = { version = "5.8.0", features = ["cli", "mysql", "wikipool"] }
cli = clap, futures

Enables full of tokio

tokio:

enable everything

Required by the toolforge-tunnel binary

mysql wikipool? = dirs, rust-ini, thiserror

Affects toolforge::db, toolforge::Result

wikipool = mysql, mysql_async, tokio

Affects toolforge::pool

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

dirs mysql?

Enables dirs ^5.0.0

For mysql feature

rust-ini mysql?

Enables rust-ini ^0.20.0

thiserror mysql?

Enables thiserror ^1.0.20

mysql_async wikipool?

Enables mysql_async ^0.32.2

For wikipool feature
(n.b. we disable TLS support, as we don't need it)

futures cli?

Enables futures

For cli and wikipool features

tokio cli? wikipool?
clap cli?