Cargo Features

svc-error has no features set by default.

svc-error = { version = "0.6.0", features = ["sentry-extension", "serialize-status-code", "r2d2", "sqlx", "svc-agent", "svc-authn", "svc-authz"] }
sentry-extension = once_cell, sentry, sentry-anyhow
serialize-status-code = http-serde

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features.

http-serde serialize-status-code?

Enables http-serde ^1.1

once_cell sentry-extension?

With default (std)

r2d2 implicit feature
sentry sentry-extension?

Enables anyhow, backtrace and reqwest of sentry ^0.31

Affects extension::sentry

sentry-anyhow sentry-extension?

Enables backtrace and default (backtrace) of sentry-anyhow ^0.31

sqlx implicit feature

Enables runtime-tokio-native-tls and default features of sqlx ^0.6

svc-agent implicit feature
svc-authn implicit feature
svc-authz implicit feature