Cargo Features

[dependencies]
filigree = { version = "0.4.1", default-features = false, features = ["local_auth", "opentelemetry", "tracing", "tracing_export", "htmx", "maud", "filigree-cli", "storage_aws", "storage_gcp", "storage_azure", "storage", "email_provider", "resend", "sentry", "test_password", "watch-manifest"] }
default = local_auth, storage, storage_aws, tracing, tracing_export

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

local_auth default

Endpoints and functions to manage users, org, and roles locally

Enables argon2 and oauth2

Affects api_key::lookup_api_key_from_bearer_token, auth::endpoints, auth::oauth, auth::password, auth::passwordless_email_login, filigree::users, server::FiligreeState.session_backend, server::FiligreeState.new_user_flags, server::FiligreeState.user_creator, server::FiligreeState.oauth_providers, server::NewUserFlags

opentelemetry tracing tracing_export = tracing

Enables opentelemetry ^0.21.0, opentelemetry_sdk ^0.21.2, and tracing-opentelemetry ^0.22.0

tracing default filigree-cli? opentelemetry? tracing_export = opentelemetry

Enables log, tracing-error, tracing-log, and tracing-subscriber

Affects error_stack::ErrorStackInformation.spantrace, filigree::propagate_http_span, filigree::tracing_config

tracing_export default = opentelemetry, tracing

Enables opentelemetry-otlp ^0.14.0 and tonic ^0.9.2

Affects tracing_config::HoneycombConfig, tracing_config::OtlpTonicConfig

htmx

Affects filigree::htmx

maud

Enables maud

Affects filigree::html, filigree::maud, filigree::vite_manifest

filigree-cli = storage_aws, tracing

Code only needed when running the Filigree CLI, plus additional features

Affects filigree::templates

storage_aws default filigree-cli? storage = storage

Enable support for AWS S3 and compatible APIs

Enables aws of object_store ^0.9.1

Affects storage::s3

storage_gcp = storage

Enable support for Google Cloud Storage

Enables gcp of object_store ^0.9.1

storage_azure = storage

Enable support for Azure Blob Storage

Enables azure of object_store ^0.9.1

storage default storage_aws storage_azure? storage_gcp? = storage_aws

Right now only AWS storage is implemented

Affects filigree::storage, filigree::uploads

email_provider resend?

Affects services::email_service_from_name

resend = email_provider

Affects services::resend

sentry

Enables sentry ^0.32.2

Affects error_reporting::sentry

test_slow test_password
watch-manifest

Watch the Vite manifest for changes

Enables notify-debouncer-mini ^0.4.1

Affects vite_manifest::watch