334 lines
5.8 KiB
TOML
334 lines
5.8 KiB
TOML
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
|
|
#
|
|
# When uploading crates to the registry Cargo will automatically
|
|
# "normalize" Cargo.toml files for maximal compatibility
|
|
# with all versions of Cargo and also rewrite `path` dependencies
|
|
# to registry (e.g., crates.io) dependencies.
|
|
#
|
|
# If you are reading this file be aware that the original Cargo.toml
|
|
# will likely look very different (and much more reasonable).
|
|
# See Cargo.toml.orig for the original contents.
|
|
|
|
[package]
|
|
edition = "2021"
|
|
rust-version = "1.81"
|
|
name = "sentry"
|
|
version = "0.46.2"
|
|
authors = ["Sentry <hello@sentry.io>"]
|
|
build = "build.rs"
|
|
autolib = false
|
|
autobins = false
|
|
autoexamples = false
|
|
autotests = false
|
|
autobenches = false
|
|
description = """
|
|
Sentry (sentry.io) client for Rust.
|
|
"""
|
|
homepage = "https://sentry.io/welcome/"
|
|
readme = "README.md"
|
|
license = "MIT"
|
|
repository = "https://github.com/getsentry/sentry-rust"
|
|
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|
|
rustdoc-args = [
|
|
"--cfg",
|
|
"doc_cfg",
|
|
]
|
|
|
|
[features]
|
|
actix = ["sentry-actix"]
|
|
anyhow = ["sentry-anyhow"]
|
|
backtrace = [
|
|
"sentry-backtrace",
|
|
"sentry-tracing?/backtrace",
|
|
]
|
|
contexts = ["sentry-contexts"]
|
|
curl = [
|
|
"dep:curl",
|
|
"httpdate",
|
|
]
|
|
debug-images = ["sentry-debug-images"]
|
|
default = [
|
|
"backtrace",
|
|
"contexts",
|
|
"debug-images",
|
|
"panic",
|
|
"transport",
|
|
"release-health",
|
|
]
|
|
embedded-svc-http = [
|
|
"dep:embedded-svc",
|
|
"dep:esp-idf-svc",
|
|
]
|
|
log = ["sentry-log"]
|
|
logs = [
|
|
"sentry-core/logs",
|
|
"sentry-tracing?/logs",
|
|
"sentry-log?/logs",
|
|
]
|
|
native-tls = [
|
|
"dep:native-tls",
|
|
"reqwest?/default-tls",
|
|
"ureq?/native-tls",
|
|
]
|
|
opentelemetry = ["sentry-opentelemetry"]
|
|
panic = ["sentry-panic"]
|
|
release-health = [
|
|
"sentry-core/release-health",
|
|
"sentry-actix?/release-health",
|
|
]
|
|
reqwest = [
|
|
"dep:reqwest",
|
|
"httpdate",
|
|
"tokio",
|
|
]
|
|
rustls = [
|
|
"dep:rustls",
|
|
"reqwest?/rustls-tls",
|
|
"ureq?/rustls",
|
|
]
|
|
slog = ["sentry-slog"]
|
|
test = ["sentry-core/test"]
|
|
tower = ["sentry-tower"]
|
|
tower-axum-matched-path = [
|
|
"tower-http",
|
|
"sentry-tower/axum-matched-path",
|
|
]
|
|
tower-http = [
|
|
"tower",
|
|
"sentry-tower/http",
|
|
]
|
|
tracing = ["sentry-tracing"]
|
|
transport = [
|
|
"reqwest",
|
|
"native-tls",
|
|
]
|
|
ureq = [
|
|
"dep:ureq",
|
|
"httpdate",
|
|
]
|
|
|
|
[lib]
|
|
name = "sentry"
|
|
path = "src/lib.rs"
|
|
|
|
[[example]]
|
|
name = "anyhow-demo"
|
|
path = "examples/anyhow-demo.rs"
|
|
|
|
[[example]]
|
|
name = "before-send"
|
|
path = "examples/before-send.rs"
|
|
|
|
[[example]]
|
|
name = "event-processors"
|
|
path = "examples/event-processors.rs"
|
|
|
|
[[example]]
|
|
name = "health"
|
|
path = "examples/health.rs"
|
|
|
|
[[example]]
|
|
name = "log-demo"
|
|
path = "examples/log-demo.rs"
|
|
|
|
[[example]]
|
|
name = "message-demo"
|
|
path = "examples/message-demo.rs"
|
|
|
|
[[example]]
|
|
name = "panic-demo"
|
|
path = "examples/panic-demo.rs"
|
|
|
|
[[example]]
|
|
name = "performance-demo"
|
|
path = "examples/performance-demo.rs"
|
|
|
|
[[example]]
|
|
name = "send-with-extra"
|
|
path = "examples/send-with-extra.rs"
|
|
|
|
[[example]]
|
|
name = "thread-demo"
|
|
path = "examples/thread-demo.rs"
|
|
|
|
[[example]]
|
|
name = "tracing-demo"
|
|
path = "examples/tracing-demo.rs"
|
|
|
|
[[test]]
|
|
name = "test_async"
|
|
path = "tests/test_async.rs"
|
|
|
|
[[test]]
|
|
name = "test_basic"
|
|
path = "tests/test_basic.rs"
|
|
|
|
[[test]]
|
|
name = "test_client"
|
|
path = "tests/test_client.rs"
|
|
|
|
[[test]]
|
|
name = "test_log"
|
|
path = "tests/test_log.rs"
|
|
|
|
[[test]]
|
|
name = "test_log_combined_filters"
|
|
path = "tests/test_log_combined_filters.rs"
|
|
|
|
[[test]]
|
|
name = "test_log_logs"
|
|
path = "tests/test_log_logs.rs"
|
|
|
|
[[test]]
|
|
name = "test_processors"
|
|
path = "tests/test_processors.rs"
|
|
|
|
[[test]]
|
|
name = "test_tower"
|
|
path = "tests/test_tower.rs"
|
|
|
|
[[test]]
|
|
name = "test_tracing"
|
|
path = "tests/test_tracing.rs"
|
|
|
|
[dependencies.curl]
|
|
version = "0.4.25"
|
|
optional = true
|
|
|
|
[dependencies.embedded-svc]
|
|
version = "0.28.1"
|
|
optional = true
|
|
|
|
[dependencies.httpdate]
|
|
version = "1.0.0"
|
|
optional = true
|
|
|
|
[dependencies.native-tls]
|
|
version = "0.2.8"
|
|
optional = true
|
|
|
|
[dependencies.reqwest]
|
|
version = "0.12.25"
|
|
features = [
|
|
"blocking",
|
|
"json",
|
|
]
|
|
optional = true
|
|
default-features = false
|
|
|
|
[dependencies.rustls]
|
|
version = "0.23.18"
|
|
optional = true
|
|
default-features = false
|
|
|
|
[dependencies.sentry-actix]
|
|
version = "0.46.2"
|
|
optional = true
|
|
default-features = false
|
|
|
|
[dependencies.sentry-anyhow]
|
|
version = "0.46.2"
|
|
optional = true
|
|
|
|
[dependencies.sentry-backtrace]
|
|
version = "0.46.2"
|
|
optional = true
|
|
|
|
[dependencies.sentry-contexts]
|
|
version = "0.46.2"
|
|
optional = true
|
|
|
|
[dependencies.sentry-core]
|
|
version = "0.46.2"
|
|
features = ["client"]
|
|
|
|
[dependencies.sentry-debug-images]
|
|
version = "0.46.2"
|
|
optional = true
|
|
|
|
[dependencies.sentry-log]
|
|
version = "0.46.2"
|
|
optional = true
|
|
|
|
[dependencies.sentry-opentelemetry]
|
|
version = "0.46.2"
|
|
optional = true
|
|
|
|
[dependencies.sentry-panic]
|
|
version = "0.46.2"
|
|
optional = true
|
|
|
|
[dependencies.sentry-slog]
|
|
version = "0.46.2"
|
|
optional = true
|
|
|
|
[dependencies.sentry-tower]
|
|
version = "0.46.2"
|
|
optional = true
|
|
|
|
[dependencies.sentry-tracing]
|
|
version = "0.46.2"
|
|
optional = true
|
|
|
|
[dependencies.serde_json]
|
|
version = "1.0.48"
|
|
optional = true
|
|
|
|
[dependencies.tokio]
|
|
version = "1.44"
|
|
features = ["rt"]
|
|
optional = true
|
|
|
|
[dependencies.ureq]
|
|
version = "3.0.11"
|
|
optional = true
|
|
default-features = false
|
|
|
|
[dev-dependencies.actix-web]
|
|
version = "4"
|
|
default-features = false
|
|
|
|
[dev-dependencies.anyhow]
|
|
version = "1.0.30"
|
|
|
|
[dev-dependencies.log]
|
|
version = "0.4.8"
|
|
features = ["std"]
|
|
|
|
[dev-dependencies.pretty_env_logger]
|
|
version = "0.5.0"
|
|
|
|
[dev-dependencies.slog]
|
|
version = "2.5.2"
|
|
|
|
[dev-dependencies.tokio]
|
|
version = "1.44"
|
|
features = ["macros"]
|
|
|
|
[dev-dependencies.tower]
|
|
version = "0.5.2"
|
|
features = ["util"]
|
|
|
|
[dev-dependencies.tracing]
|
|
version = "0.1"
|
|
|
|
[dev-dependencies.tracing-subscriber]
|
|
version = "0.3"
|
|
features = [
|
|
"fmt",
|
|
"tracing-log",
|
|
]
|
|
|
|
[build-dependencies.cfg_aliases]
|
|
version = "0.2.1"
|
|
|
|
[target.'cfg(target_os = "espidf")'.dependencies.esp-idf-svc]
|
|
version = "0.51.0"
|
|
optional = true
|
|
|
|
[lints.rust.unexpected_cfgs]
|
|
level = "warn"
|
|
priority = 0
|
|
check-cfg = ["cfg(doc_cfg)"]
|