Cargo Features

authentic has no features set by default.

[dependencies]
authentic = { version = "0.5.0", features = ["hyper-client", "reqwest-async", "reqwest-blocking", "jwt", "loop", "step"] }
hyper-client = hyper
reqwest-async = reqwest
reqwest-blocking

Enables blocking of reqwest ^0.11

Affects reqwest::blocking

jwt = arc-swap, jsonwebtoken

Enables derive of serde

serde:

Provide derive(Serialize, Deserialize) macros.

loop

Affects hyper::HttpAuthentication, asynch::HttpAuthentication, blocking::HttpAuthentication

step

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.

arc-swap jwt?
hyper hyper-client?

Enables hyper ^0.14

Affects authentic::hyper

jsonwebtoken jwt?

Enables jsonwebtoken ^8

reqwest reqwest-async? reqwest-blocking?

Enables reqwest ^0.11

Affects authentic::reqwest

serde jwt?