Cargo Features

[dependencies]
product-os-authentication = { version = "0.0.7", default-features = false, features = ["core_authentication", "authentication_layer", "issue_token"] }
default = authentication_layer, core_authentication

These default features are set whenever product-os-authentication is added without default-features = false somewhere in the dependency tree.

core_authentication default = chrono, futures, openidconnect, parking_lot, product-os-capabilities, product-os-configuration, product-os-request, product-os-router, product-os-security, product-os-store, product-os-store-macros, serde, serde_json, tokio, tracing, url, uuid
authentication_layer default = product-os-command-control

Affects middleware::RequireAuthenticationLayer, middleware::RequireAuthentication

issue_token = product-os-command-control

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.

tokio core_authentication

Enables tokio

For async capabilities

parking_lot core_authentication
product-os-capabilities core_authentication

Enables product-os-capabilities

Core dependencies

product-os-configuration core_authentication
product-os-security core_authentication
product-os-store core_authentication
product-os-store-macros core_authentication
product-os-router core_authentication
product-os-command-control authentication_layer issue_token?
product-os-request core_authentication
uuid core_authentication
url core_authentication
chrono core_authentication
tracing core_authentication

Enables tracing

Logging support

serde core_authentication

Enables serde

Support for serialize/deserialize objects

serde_json core_authentication

Enables serde_json

Support for JSON structures

openidconnect core_authentication

Enables openidconnect ^2.3.1

futures core_authentication