Cargo Features

[dependencies]
openleadr-vtn = { version = "0.0.3", default-features = false, features = ["live-db-test", "postgres", "internal-oauth"] }
default = internal-oauth, live-db-test, postgres

These default features are set whenever openleadr-vtn is added without default-features = false somewhere in the dependency tree.

live-db-test default = internal-oauth, postgres
postgres default live-db-test

Enables argon2, dotenvy, and sqlx

internal-oauth default live-db-test

Affects auth::AccessTokenRequest, data_source::AuthSource.check_credentials, data_source::DataSource.auth, data_source::AuthInfo

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.

sqlx postgres