Cargo Features

torn-key-pool = { version = "0.7.0", default-features = false, features = ["postgres", "reqwest", "awc", "tokio-runtime", "actix-runtime"] }
default = postgres, tokio-runtime

These default features are set whenever torn-key-pool is added without default-features = false somewhere in the dependency tree.

postgres default

Enables chrono, indoc ^1, serde, and sqlx

Affects torn-key-pool::postgres


Enables reqwest, reqwest of torn-api


Enables awc, awc of torn-api

tokio-runtime default

Enables rand and tokio


Enables actix-rt and rand