Cargo Features
[dependencies]
sentry = { version = "0.35.0", default-features = false, features = ["metrics", "metrics-cadence1", "backtrace", "contexts", "panic", "anyhow", "debug-images", "log", "slog", "tower", "tower-http", "tower-axum-matched-path", "tracing", "test", "debug-logs", "transport", "reqwest", "curl", "surf-h1", "surf", "ureq", "native-tls", "rustls", "embedded-svc-http", "serde_json"] }
- default = backtrace, contexts, debug-images, panic, transport
-
These default features are set whenever
sentry
is added without
somewhere in the dependency tree.default-features = false - metrics
-
Enables metrics of sentry-core
- metrics-cadence1
-
Enables metrics-cadence1 of sentry-core
- 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
- 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
- test
-
other features
Enables test of sentry-core
- debug-logs
-
Enables log and debug-logs of sentry-core
sentry-core:
I would love to just have a
log
feature, but this is used inside a macro, and macros actually expand features (and extern crate) where they are used! - transport default = native-tls, reqwest
-
transports
- reqwest transport = httpdate, tokio
-
Enables reqwest
Affects
transports::HttpTransport
… - curl = httpdate
-
Enables curl
Affects
transports::HttpTransport
… - surf-h1 = httpdate
- surf surf-h1? = http-client, httpdate, isahc, tokio
-
With curl-client
Affects
transports::HttpTransport
… - ureq = httpdate
-
Enables ureq
Affects
transports::HttpTransport
… - native-tls transport
-
transport settings
Enables native-tls, default-tls of optional reqwest, native-tls of optional ureq
- rustls = webpki-roots
-
Enables rustls, rustls-tls of optional reqwest, tls of optional ureq
- embedded-svc-http
-
Enables embedded-svc ^0.27.1 and esp-idf-svc ^0.48.1
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-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?
- httpdate curl? reqwest? surf? surf-h1? ureq?
- http-client surf?
- isahc surf?
-
Enables isahc ^0.9.14
- serde_json implicit feature
-
Enables serde_json
serde_json:
A JSON serialization file format
- tokio reqwest? surf?
- webpki-roots rustls?