# 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.73" name = "sentry" version = "0.35.0" authors = ["Sentry "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = """ Sentry (getsentry.com) client for rust ;) """ homepage = "https://sentry.io/welcome/" readme = "README.md" license = "Apache-2.0" repository = "https://github.com/getsentry/sentry-rust" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "doc_cfg", ] [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_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.27.1" optional = true [dependencies.http-client] version = "6.5.3" optional = true [dependencies.httpdate] version = "1.0.0" optional = true [dependencies.isahc] version = "0.9.14" optional = true [dependencies.log] version = "0.4.8" features = ["std"] optional = true [dependencies.native-tls] version = "0.2.8" optional = true [dependencies.reqwest] version = "0.12" features = [ "blocking", "json", ] optional = true default-features = false [dependencies.rustls] version = "0.23.18" optional = true default-features = false [dependencies.sentry-anyhow] version = "0.35.0" optional = true [dependencies.sentry-backtrace] version = "0.35.0" optional = true [dependencies.sentry-contexts] version = "0.35.0" optional = true [dependencies.sentry-core] version = "0.35.0" features = ["client"] [dependencies.sentry-debug-images] version = "0.35.0" optional = true [dependencies.sentry-log] version = "0.35.0" optional = true [dependencies.sentry-panic] version = "0.35.0" optional = true [dependencies.sentry-slog] version = "0.35.0" optional = true [dependencies.sentry-tower] version = "0.35.0" optional = true [dependencies.sentry-tracing] version = "0.35.0" optional = true [dependencies.serde_json] version = "1.0.48" optional = true [dependencies.surf] version = "2.0.0" optional = true default-features = false [dependencies.tokio] version = "1.0" features = ["rt"] optional = true [dependencies.ureq] version = "2.10.1" optional = true default-features = false [dependencies.webpki-roots] version = "0.26.1" optional = true [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.0" features = ["macros"] [dev-dependencies.tower] version = "0.4" features = ["util"] [dev-dependencies.tracing] version = "0.1" [dev-dependencies.tracing-subscriber] version = "0.3" features = [ "fmt", "tracing-log", ] [features] anyhow = ["sentry-anyhow"] backtrace = [ "sentry-backtrace", "sentry-tracing?/backtrace", ] contexts = ["sentry-contexts"] curl = [ "dep:curl", "httpdate", ] debug-images = ["sentry-debug-images"] debug-logs = [ "dep:log", "sentry-core/debug-logs", ] default = [ "backtrace", "contexts", "debug-images", "panic", "transport", ] embedded-svc-http = [ "dep:embedded-svc", "dep:esp-idf-svc", ] log = ["sentry-log"] metrics = ["sentry-core/metrics"] metrics-cadence1 = ["sentry-core/metrics-cadence1"] native-tls = [ "dep:native-tls", "reqwest?/default-tls", "ureq?/native-tls", ] panic = ["sentry-panic"] reqwest = [ "dep:reqwest", "httpdate", "tokio", ] rustls = [ "dep:rustls", "reqwest?/rustls-tls", "ureq?/tls", "webpki-roots", ] slog = ["sentry-slog"] surf = [ "surf/curl-client", "http-client", "httpdate", "isahc", "tokio", ] surf-h1 = [ "surf/h1-client", "httpdate", ] 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", ] [target.'cfg(target_os = "espidf")'.dependencies.esp-idf-svc] version = "0.48.1" optional = true [lints.rust.unexpected_cfgs] level = "warn" priority = 0 check-cfg = ["cfg(doc_cfg)"]