Cargo Features

[dependencies]
freighter-auth = { version = "1.0.0", default-features = false, features = ["yes-backend", "pg-backend", "fs-backend", "cf-backend"] }
default = pg-backend

The pg-backend feature is set by default whenever freighter-auth is added without default-features = false somewhere in the dependency tree.

yes-backend

Affects freighter-auth::yes_backend

pg-backend default

Enables deadpool-postgres ^0.13.2 and tokio

Affects freighter-auth::pg_backend

fs-backend

Enables base64, hmac, parking_lot, serde_json, and tempfile

Affects freighter-auth::fs_backend

cf-backend

Enables cookie, jsonwebtoken, reqwest ^0.11.23, serde_json, and tokio

Affects freighter-auth::cf_backend