Cargo Features

[dependencies]
sentry-contrib-native = { version = "0.3.1", default-features = false, features = ["backend-crashpad", "backend-breakpad", "backend-inproc", "transport-default", "transport-custom", "nightly", "test"] }
default = transport-default

The transport-default feature is set by default whenever sentry-contrib-native is added without default-features = false somewhere in the dependency tree.

backend-crashpad

Enables backend-crashpad of sentry-contrib-native-sys

backend-breakpad

Enables backend-breakpad of sentry-contrib-native-sys

backend-inproc

Enables backend-inproc of sentry-contrib-native-sys

transport-default default

Enables transport-default of sentry-contrib-native-sys

transport-custom = http, url

Affects transport::Error, transport::Request, transport::Dsn, transport::Parts

nightly

Enables nightly of sentry-contrib-native-sys

test

Affects sentry-contrib-native::test

Features from optional dependencies

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

http transport-custom?

Enables http ^0.2

url transport-custom?