Cargo Features

sentry-core has no features set by default.

[dependencies]
sentry-core = { version = "0.35.0", features = ["client", "debug-logs", "metrics", "metrics-cadence1", "test", "uuid"] }
client test? = rand

Affects sentry-core::cadence, sentry-core::metrics

debug-logs

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!

Enables log

metrics metrics-cadence1? = crc32fast, regex

Enables metrics of sentry-types

Affects sentry-core::metrics

metrics-cadence1 = metrics

Enables cadence

Affects sentry-core::cadence

test = client

Affects sentry-core::test

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.

crc32fast metrics?
rand client?
regex metrics?
uuid implicit feature

Enables uuid

uuid:

A library to generate and parse UUIDs