Cargo Features

svc-authn has no features set by default.

[dependencies]
svc-authn = { version = "0.8.0", features = ["bearer", "jose", "cli", "diesel", "sqlx"] }
bearer jose? = http

Affects token::bearer

jose cli? = bearer, chrono, jsonwebtoken

Affects account::jose, svc-authn::jose, token::jws_compact

cli = atty, config, dirs, jose, serde_json, structopt, toml

Required by the svc-authn-cli binary

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.

atty cli?
chrono jose?
config cli?

Enables config ^0.13

diesel implicit feature

Enables diesel ^1

diesel:

A safe, extensible ORM and Query Builder for PostgreSQL, SQLite, and MySQL

Affects account::sql, svc-authn::sql

dirs cli?
http bearer?

Enables http ^0.2

jsonwebtoken jose?

Enables jsonwebtoken ^7

serde_json cli?
sqlx implicit feature

Enables sqlx ^0.6

structopt cli?
toml cli?

Enables toml ^0.7