Cargo Features

[dependencies]
sentry = { version = "0.46.1", default-features = false, features = ["backtrace", "contexts", "panic", "anyhow", "actix", "debug-images", "log", "slog", "tower", "tower-http", "tower-axum-matched-path", "tracing", "opentelemetry", "test", "release-health", "logs", "transport", "reqwest", "curl", "ureq", "native-tls", "rustls", "embedded-svc-http", "serde_json"] }
default = backtrace, contexts, debug-images, panic, release-health, transport

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

backtrace default = sentry-backtrace

default integrations

Enables backtrace of optional sentry-tracing

contexts default = sentry-contexts
panic default = sentry-panic
anyhow = sentry-anyhow

other integrations

actix = sentry-actix
debug-images default = sentry-debug-images
log = sentry-log
slog = sentry-slog
tower tower-http? = sentry-tower
tower-http tower-axum-matched-path? = tower

Enables http of sentry-tower

tower-axum-matched-path = tower-http

Enables axum-matched-path of sentry-tower

tracing = sentry-tracing
opentelemetry = sentry-opentelemetry
test

other features

Enables test of sentry-core

release-health default

Enables release-health of optional sentry-actix and sentry-core

logs

Enables logs of sentry-core, optional sentry-log, and optional sentry-tracing

transport default = native-tls, reqwest

transports

reqwest transport = httpdate, tokio

Enables reqwest ^0.12.25

Affects transports::HttpTransport

curl = httpdate

Enables curl

Affects transports::HttpTransport

ureq = httpdate

Enables ureq

Affects transports::HttpTransport

native-tls transport

transport settings

Enables native-tls, default-tls of optional reqwest ^0.12.25, native-tls of optional ureq

rustls

Enables rustls, rustls-tls of optional reqwest ^0.12.25 and rustls of optional ureq

ureq:

SUPPORTED FEATURES

embedded-svc-http

Enables embedded-svc and esp-idf-svc

Affects transports::HttpTransport

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.

sentry-anyhow anyhow?
sentry-actix actix?
sentry-backtrace backtrace
sentry-contexts contexts
sentry-debug-images debug-images
sentry-log log?
sentry-panic panic
sentry-slog slog?
sentry-tower tower? tower-axum-matched-path? tower-http?
sentry-tracing tracing?
sentry-opentelemetry opentelemetry?
httpdate curl? reqwest? ureq?
serde_json implicit feature

Enables serde_json

serde_json:

A JSON serialization file format

tokio reqwest?