Cargo Features

sentry-core has no features set by default.

[dependencies]
sentry-core = { version = "0.37.0", features = ["client", "debug-logs", "release-health", "test", "cadence", "crc32fast", "regex", "uuid"] }
client test? = rand
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

release-health test?

Affects api::start_session, api::end_session, api::end_session_with_status

test = client, release-health

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.

cadence implicit feature

Enables cadence

cadence:

An extensible Statsd client for Rust

crc32fast implicit feature

Enables crc32fast

crc32fast:

Fast, SIMD-accelerated CRC32 (IEEE) checksum computation

rand client?

Enables rand ^0.8.1

regex implicit feature
uuid implicit feature

Enables uuid

uuid:

A library to generate and parse UUIDs