[package]
name = "sentry"
version = "0.46.2"
authors = ["Sentry <hello@sentry.io>"]
license = "MIT"
readme = "README.md"
repository = "https://github.com/getsentry/sentry-rust"
homepage = "https://sentry.io/welcome/"
description = """
Sentry (sentry.io) client for Rust.
"""
edition = "2021"
rust-version = "1.81"
autoexamples = true
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "doc_cfg"]
[features]
default = [
"backtrace",
"contexts",
"debug-images",
"panic",
"transport",
"release-health",
]
backtrace = ["sentry-backtrace", "sentry-tracing?/backtrace"]
contexts = ["sentry-contexts"]
panic = ["sentry-panic"]
anyhow = ["sentry-anyhow"]
actix = ["sentry-actix"]
debug-images = ["sentry-debug-images"]
log = ["sentry-log"]
slog = ["sentry-slog"]
tower = ["sentry-tower"]
tower-http = ["tower", "sentry-tower/http"]
tower-axum-matched-path = ["tower-http", "sentry-tower/axum-matched-path"]
tracing = ["sentry-tracing"]
opentelemetry = ["sentry-opentelemetry"]
test = ["sentry-core/test"]
release-health = ["sentry-core/release-health", "sentry-actix?/release-health"]
logs = ["sentry-core/logs", "sentry-tracing?/logs", "sentry-log?/logs"]
transport = ["reqwest", "native-tls"]
reqwest = ["dep:reqwest", "httpdate", "tokio"]
curl = ["dep:curl", "httpdate"]
ureq = ["dep:ureq", "httpdate"]
native-tls = ["dep:native-tls", "reqwest?/default-tls", "ureq?/native-tls"]
rustls = ["dep:rustls", "reqwest?/rustls-tls", "ureq?/rustls"]
embedded-svc-http = ["dep:embedded-svc", "dep:esp-idf-svc"]
[dependencies]
sentry-core = { version = "0.46.2", path = "../sentry-core", features = [
"client",
] }
sentry-anyhow = { version = "0.46.2", path = "../sentry-anyhow", optional = true }
sentry-actix = { version = "0.46.2", path = "../sentry-actix", optional = true, default-features = false }
sentry-backtrace = { version = "0.46.2", path = "../sentry-backtrace", optional = true }
sentry-contexts = { version = "0.46.2", path = "../sentry-contexts", optional = true }
sentry-debug-images = { version = "0.46.2", path = "../sentry-debug-images", optional = true }
sentry-log = { version = "0.46.2", path = "../sentry-log", optional = true }
sentry-panic = { version = "0.46.2", path = "../sentry-panic", optional = true }
sentry-slog = { version = "0.46.2", path = "../sentry-slog", optional = true }
sentry-tower = { version = "0.46.2", path = "../sentry-tower", optional = true }
sentry-tracing = { version = "0.46.2", path = "../sentry-tracing", optional = true }
sentry-opentelemetry = { version = "0.46.2", path = "../sentry-opentelemetry", optional = true }
reqwest = { version = "0.12.25", optional = true, features = [
"blocking",
"json",
], default-features = false }
curl = { version = "0.4.25", optional = true }
httpdate = { version = "1.0.0", optional = true }
serde_json = { version = "1.0.48", optional = true }
tokio = { version = "1.44", features = ["rt"], optional = true }
ureq = { version = "3.0.11", optional = true, default-features = false }
native-tls = { version = "0.2.8", optional = true }
rustls = { version = "0.23.18", optional = true, default-features = false }
embedded-svc = { version = "0.28.1", optional = true }
[target.'cfg(target_os = "espidf")'.dependencies]
esp-idf-svc = { version = "0.51.0", optional = true }
[dev-dependencies]
sentry-anyhow = { path = "../sentry-anyhow" }
sentry-log = { path = "../sentry-log" }
sentry-slog = { path = "../sentry-slog" }
sentry-tower = { path = "../sentry-tower" }
sentry-tracing = { path = "../sentry-tracing" }
actix-web = { version = "4", default-features = false }
anyhow = { version = "1.0.30" }
log = { version = "0.4.8", features = ["std"] }
pretty_env_logger = "0.5.0"
slog = { version = "2.5.2" }
tokio = { version = "1.44", features = ["macros"] }
tower = { version = "0.5.2", features = ["util"] }
tracing = { version = "0.1" }
tracing-subscriber = { version = "0.3", features = ["fmt", "tracing-log"] }
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(doc_cfg)'] }
[build-dependencies]
cfg_aliases = "0.2.1"